ANNMOVEPOINT

Summary

The ANNMOVEPOINT structure contains information about an annotation object when moving a point of the object in automated mode.

Syntax

typedef struct tagANNMOVEPOINT 
{ 
   L_UINT uStructSize; 
   L_INT nState; 
   POINT pt; 
   L_UINT uIndex; 
   ANNPOINT apt; 
} ANNMOVEPOINT, *pANNMOVEPOINT; 

Members

uStructSize

Size of the ANNCHANGEPARAM structure. Use sizeof(ANNCHANGEPARAM).

nState

Value that indicates the state of the move. Possible values are:

Value Meaning
STATE_BEGIN [1]
STATE_UPDATE [2]
STATE_END [3]

pt

Current move location (in client coordinates)

uIndex

Index of the point (handle) being moved. The index can be used with other functions like L_AnnGetUserHandle, L_AnnChangeUserHandle, L_AnnDeleteUserHandle, and L_AnnEnumerateHandles.

apt

Current location of point being moved, in container coordinates.

Comments

A handle of an annotation object can be moved in automated mode by dragging the handle with the mouse. Doing so causes a WM_LTANNEVENT message to be sent where wParam is ANNCHANGE_ ANNCHANGE_MOVE_POINT and lParam points to a structure of type ANNCHANGEPARAM. In this case, the union of ANNCHANGEPARAM is type ANNMOVEPOINT. This message is sent when one of the following events occurs:

Usage

See Also

Help Version 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.