typedef struct tagANNMOVEPOINT
{
L_UINT uStructSize;
L_INT nState;
POINT pt;
L_UINT uIndex;
ANNPOINT apt;
} ANNMOVEPOINT,*pANNMOVEPOINT;
The ANNMOVEPOINT structure contains information about an annotation object when moving a point of the object in automated mode.
Size of the ANNCHANGEPARAM structure. Use sizeof(ANNCHANGEPARAM).
Value that indicates the state of the move. Possible values are:
Value | Meaning |
---|---|
STATE_BEGIN | [1] |
STATE_UPDATE | [2] |
STATE_END | [3] |
Current move location (in client coordinates)
Index of the point (handle) being moved. The index can be used with other functions like the LAnnXXX::AddUserHandle, LAnnXXX::DeleteUserHandle, LAnnXXX::ChangeUserHandle, or LAnnXXX::EnumerateHandles functions, where LAnnXXX represents the classes that support handles. These classes are as follows:
Current location of point being moved, in container coordinates.
The ANNMOVEPOINT structure is part of the union of the ANNCHANGEPARAM structure. For more information, see the documentation for ANNCHANGEPARAM.
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:
Starting the move point (with a mouse click): two messages are sent, one before and one after the initial mouse click. The nState field is set to STATE_BEGIN. The pt field contains the location of the mouse click, in client coordinates.
Moving the point of the object (by dragging the mouse): Pairs of messages (one before and one after) are sent for each mouse move. The nState field is set to STATE_UPDATE, and the pt field contains the location of the mouse.
Ending the move point (by releasing the mouse): One pair of messages is sent (one before and one after) for the mouse up. The nState field is set to STATE_END, and the pt field contains the location of the mouse when released.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document