Creating an annotation

The ActiveX control creates an annotation class instance inside the ocx in construction time. This class will be destroyed during destruction. Once the annotation object is created, one can start to draw objects or create “Sticky Notes”. To display the objects on the screen, one has to use the AnnoUIOnPaint() method.