PopUpMenu

PopUpOpen

Place and draw a pop-up menu after saving the screen region

Syntax

Signature
xBool       PopUpOpen( PopUpMenu *popUp );

Arguments

popUp the pop-up menu.

Return value

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

Description

Opening a closed menu resolves automatic coordinates and adjusts the top and left to place the frame within the screen when its size allows. It then saves the region before drawing. The final bottom and right edges follow the size of the menu. `PopUpClose()` restores the saved region.

Opening a menu that is already open succeeds without saving or drawing it again. Call `PopUpDisplay()` to redraw it.

See also