AnnDestroy event (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax void AnnDestroy (OLE_HANDLE hObject);

Overview:  Refer to Implementing Annotations.

Remarks

(Document/Medical only) Occurs when an annotation object is deleted. If the user deletes several objects at the same time, a separate event occurs for each object.

Do not call the AnnEnumerate, AnnDestroy, or AnnCreate methods inside this AnnDestroy event. The annotation objects are stored as a linked list and should not be accessed or modified within this event.

See Also

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