Back

SetScrollBar()




    USAGE

    void SetScrollBar(ListInfo)

    FUNCTION

    This modifies and redraw the scroll bar for the list defined by the ListInfo structure. This is necessary when the list size has changed, or the position of the TopDisplayItem has moved.

    DrawList, ScrollList, SizeList, ClickList, InsertListItem, and RemoveListItem all readjust the scroll bar, so you need not call SetScrollBar when these functions are called.

    INPUTS

    ListInfo = Pointer to ListInfo structure that describes the list.

    RESULT

    none (void)

    SEE ALSO

    DrawList, ScrollList, SizeList, ClickList, InsertListItem, RemoveListItem