MenuItem

MenuItemGetMessage

Return the message shown when the item is current

Syntax

Signature
const char   *MenuItemGetMessage( const MenuItem *item );

Return value

The stored message, or NULL if the object is NULL.

Description

The pointer belongs to the item and stays valid until the message is replaced or the item is freed. An item without a message stores an empty string.

See also