Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Inline Functions

EmEditor Plug-in Reference: Editor_GetSelStart

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

Editor_GetSelStart

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

Editor_GetSelStart( HWND hwnd, int nLogical, POINT_PTR* pptPos );

Parameters

hwnd

Specifies the window handle of the view or frame of EmEditor.

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-2016 by Emurasoft, Inc.