WindowSetScrollPos

HC GUI programming WindowSet WindowSetScrollPos
WindowSetScrollbar WindowSetSize

WindowSetScrollPos orientation pos refresh


Sets the position of one of the built-in scrollbars.

Parameters

orientation: Determines the scrollbar whose position is to be set. May be wxHORIZONTAL or wxVERTICAL.

pos: Position in scroll units.

refresh: true to redraw the scrollbar, false otherwise.

Remarks: This function does not directly affect the contents of the window: it is up to the application to take note of scrollbar attributes and redraw contents accordingly.

WindowSetScrollbar WindowSetSize