MenuItem

MenuItemGetBlock

Return the block called when the item is selected

Syntax

Signature
MenuItemBlock MenuItemGetBlock( const MenuItem *item );

Return value

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

Description

The block takes the selected `MenuItem *`. Use `MenuItemGetPopUp()` to read the other C representation of the xBase `data` value.

See also