SETSCROLLPOS |
Top Previous Next |
Syntax SETSCROLLPOS(win as WINDOW,id as INT,pos as UINT) Description Sets the position of a scrollbar control or the windows scrollbars. Parameters win - Window or dialog containing the scrollbar to query. id - Identifier of a control or windows scrollbar. pos - New position for the scrollbar. Return value None Remarks Use and id of -1 for the windows horizontal scrollbar, -2 for the windows vertical scrollbar, or any other value for a scroll bar control. The new pos must be between the minimum and maximum range of the scrollbar. See Also: GETSCROLLPOS Example usage SETSCROLLPOS win, -1, 50 |