ScrollBar

ScrollBarGetOrient

Return the orientation of the scroll bar

Syntax

Signature
int            ScrollBarGetOrient( const ScrollBar *scrollBar );

Return value

SCROLL_VERTICAL or SCROLL_HORIZONTAL, or 0 if the object is NULL.

Description

The orientation determines which screen axis uses `start` and `end` and which one uses `offset`.

See also