Show/Hide Toolbars

EmEditor Help

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

EmEditor Plug-in Reference: Editor_SetScrollPosEx

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


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



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


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


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.


Supported on EmEditor Professional Version 5.00 or later.

Copyright © 2003-2021 by Emurasoft, Inc.