EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_GET_SEL_START

Retrieves the starting character position of the selection. You can send this message explicitly or use the Editor_GetSelStart inline function.

EE_GET_SEL_START
    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)

pptPos

Pointer to a POINT_PTR structure that will receive the starting character position of the selection.

Return Values

The return value is not used.

Copyright 2003-2014 by Emurasoft, Inc.