MenuItem

MenuItemGetPopUp

Return the submenu opened when the item is selected

Syntax

Signature
PopUpMenu    *MenuItemGetPopUp( const MenuItem *item );

Return value

The item's submenu, or NULL if the item has no submenu or the object is NULL.

Description

The item retains ownership of the returned submenu. Use `MenuItemGetBlock()` to read the other C representation of the xBase `data` value.

See also