PopUpMenu

PopUpDisplay

Redraw an open pop-up menu

Syntax

Signature
xBool       PopUpDisplay( PopUpMenu *popUp );

Arguments

popUp the pop-up menu.

Return value

T on success, or F if the object is NULL.

Description

The redraw lays out the menu from its current coordinates and items. It draws the frame, separators and item rows, applies the colors of the current and disabled items, and positions each displayed item's submenu to the right of that row.

A closed menu stays closed and the call succeeds. Use `PopUpOpen()` for the initial display and to save the screen region. If a change would move or resize an open menu, close it before the change and reopen it to save the new screen region.

See also