Syntax
int TopBarGetPrev( const TopBarMenu *topBar );
Return value
The one-based position of the previous selectable item before the current item, or 0 if there is none or the object is NULL.
Description
The search skips disabled items and separators. Call `TopBarSelect()` to make the returned position current. With a current position of `0`, the result is `0`. The search ends at the first item.