Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Messages

EmEditor Plug-in Reference: EE_SET_ANCHOR_POS

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_SET_ANCHOR_POS

Sets the origin point of the selection. You can send this message explicitly or by using the Editor_SetAnchorPos inline function.

EE_SET_ANCHOR_POS

   wParam = (WPARAM) (int) nLogical;

   lParam = (LPARAM) (POINT_PTR*) pptPos;

Parameters

nLogical

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)

POS_CELL

CSV Cell Unit

pptPos

Pointer to a POINT_PTR structure that specifies the origin point of the selection.

Return Values

The return value is not used.

Copyright © 2003-2016 by Emurasoft, Inc.