Plug-in Reference — Inline Functions — Editor_SetSelView

# Editor_SetSelView

Changes the the starting and ending position of the selection. You can use this inline function or explicitly send the EE_SET_SEL_VIEW message.

Editor_SetSelView( HWND hwnd, POINT_PTR* pptSelStart, POINT_PTR* pptSelEnd );

## Parameters

hwnd

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

pptSelStart

Pointer to a POINT_PTR structure that specifies the starting position of the selection. The position is by display coordinates.

pptSelEnd

Pointer to a POINT_PTR structure that specifies the ending position of the selection. The position is by display coordinates.

## Return Values

The return value is not used.