MenuItem

MenuItemGetCaption

Return the caption of the item

Syntax

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

Return value

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

Description

The caption includes the original `&` accelerator marker. The returned pointer belongs to the item and stays valid until the caption is replaced or the item is freed.

See also