Window scroll bar positionsΒΆ

window_id->hscroll_posn = int_expression
window_id->vscroll_posn = int_expression

Run time clauses used to set or retrieve the position, in pixels, of the horizontal and vertical scroll bars in a window that has scroll bars. If one of these values is changed the corresponding scroll bar is moved. One use of these clauses is to save and restore the positions of the scroll bars of a window that needs to be destroyed and re-created.

The style flags WS_HSCROLL and WS_VSCROLL are used to assign scroll bars to a window.


EXAMPLE

FindWindow->vscroll_posn = 36

RELATED TOPICS

Windows