OnAnnEnumerateHandles Event (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

TAnnEnumerateHandlesEvent OnAnnEnumerateHandles= int __fastcall (__closure *TAnnEnumerateHandlesEvent)( HANNOBJECT hObject, TAnnHandleInfo* AnnHandleInfo)

Delphi Syntax

TAnnEnumerateHandlesEvent OnAnnEnumerateHandles = Function (hObject: HANNOBJECT; AnnHandleInfo: AnnHandleInfo): L_INT of object

Overview

Refer to Implementing Annotations.

Remarks

Occurs for each handle enumerated by the AnnEnumerateHandles method.

The AnnHandleInfo parameter can be used to obtain detailed information about an annotation object handle. It can also be used to change some (but not all) of the properties of a user handle. All properties of an annotation object handle can be changed EXCEPT the location. The properties of a handle that can be changed within this event are:

See Also

Elements:

AnnEnumerateHandles method, AnnType property (TAnnHandleInfo), ID property (TAnnHandleInfo), Index property (TAnnHandleInfo), ContainerX property (TAnnHandleInfo), ContainerY property (TAnnHandleInfo), ClientX property (TAnnHandleInfo), ClientY property (TAnnHandleInfo), Visible property (TAnnHandleInfo), PenColor property (TAnnHandleInfo), FillColor property (TAnnHandleInfo), Shape property (TAnnHandleInfo), Cursor property (TAnnHandleInfo), Totalhandles property (TAnnHandleInfo)

Topics:

Annotations: Object Manipulation