Syntax
int TopBarGetLast( const TopBarMenu *topBar );
Return value
The one-based position of the last selectable 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.