ScrollBar

ScrollBarGetCurrent

Return the stored item position of the scroll bar

Syntax

Signature
int            ScrollBarGetCurrent( const ScrollBar *scrollBar );

Return value

The stored current item, or 0 if the object is NULL.

Description

The item index starts at `1`. Use `ScrollBarGetThumbPos()` to read the stored screen-cell offset of the thumb.

See also