Syntax
xBool TopBarDisplay( TopBarMenu *topBar );
Arguments
topBar the top bar menu.
Return value
T on success, or F if the object is NULL.
Description
The bar fills the interval from the left column through the right column, then draws each caption between two spaces. It applies the colors for the current item, disabled items and accelerator characters. An item that would extend past the right column shifts left until its last cell reaches that column.
For each item with a submenu, the draw sets the submenu's top to the next row and its left to the item's starting column. The submenu's bottom and right are set to `NIL` for automatic placement when it opens.
The modal menu loop handles item messages when configured with a message row. `TopBarDisplay()` draws the bar itself.