The user creates annotation objects and passes all of the mouse actions and user interface events such as change color, line width and font to the annotation OCX. When display is necessary (it's usually the PAINT event), one can call the AnnoUIOnPaint to draw annotation objects on the display device context.
If the user wishes to write his own display routines or use a third party display library, he must process all user interface events such as mouse access separately and he must call the AnnoObjXX methods to create/resize/move objects. In this case, the user must write the frame draw methods, handle mouse cursor changes, etc. These user interface methods are supplied in the AnnoUIXX methods.)