AnnClicked event (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax void AnnClicked (OLE_HANDLE hObject);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Occurs when the user clicks on a button or hot spot annotation object.

The object handle that this event provides can be used to immediately identify the object, but it should not be used as a unique identifier over time. (The annotation undo feature can cause object handles to change.)

Therefore, to keep track of particular objects over time, you should use the AnnSetTag method and the AnnGetTag method.

See Also

Topics:  Annotations (Document/Medical only): Annotation Events