EmEditor Home - EmEditor Help - Plug-in Reference - Inline Functions

Editor_SetScrollPosEx

Specifies the scroll bar position. You can use this inline function or explicitly send the EE_SET_SCROLL_POS message.

Editor_SetScrollPos( HWND hwnd, POINT* pptPos, BOOL bCanMoveCursor );

Parameters

hwnd

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

pptPos

Pointer to a POINT_PTR structure that specifies the scroll bar positions. The cursor position will not be changed.

bCanMoveCursor

If this parameter is TRUE and if the Move Cursor by Scrolling check box is selected, the cursor position will also move. If this parameter is FALSE, the cursor position will not move.

Return Values

The return value is not used.

Version

Supported on EmEditor Professional Version 5.00 or later.

Copyright 2003-2014 by Emurasoft, Inc.