AnnPositionResult property (Annotation Control)

C++ Builder example

Delphi example

 

Builder Syntax

unsigned AnnPositionResult

Delphi Syntax

AnnPositionResult: L_UINT

Overview

Refer to Implementing Annotations.

Remarks

(Read Only) Gets a value that represents the position on the annotation object that was found at the point specified for the AnnHitTestExt method. Possible values are:

ANNHIT_NONE [0]

ANNHIT_BODY [1]

ANNHIT_HANDLE [2]

ANNHIT_NAME [3]

ANNHIT_USER_HANDLE [4]

If PositionResult is updated with ANNHIT_HANDLE or ANNHIT_USER_HANDLE the AnnHandleIndex property and the AnnHandleID property will be updated with extra information about the handle.

See Also

Elements

AnnHandleIndex property, AnnHandleID property, AnnObjectHitHandle property, AnnHitTestExt method

Topics

Annotations: Object Manipulation

 

Displaying and Manipulating Annotation Objects