Sets the origin point of the selection. You can use this inline function or explicitly send the EE_SET_ANCHOR_POS message.
Editor_SetAnchorPos( HWND hwnd, int nLogical, POINT_PTR* pptPos );
Specifies the window handle of the view or frame of EmEditor.
Specifies one of the following values.
Value Meaning POS_VIEW Display Coordinates POS_LOGICAL_A Logical Coordinates (Count double-byte characters as two) POS_LOGICAL_W Logical Coordinates (Count double-byte characters as one)
Pointer to a POINT_PTR structure that specified the origin point of the selection.
The return value is not used.