Syntax
xBool PopUpAddItem( PopUpMenu *popUp, MenuItem *item );
Arguments
popUp the pop-up menu.
item the menu item to append. NULL is invalid.
Return value
T on success, or F if the object is NULL or item is NULL.
Description
On success the menu takes ownership of the item, including any submenu it owns. The caller retains ownership on failure.