2.2.6.20.9 Menu::GetMenuString

Description

provides access to the menu items string value

Syntax

int GetMenuString( UINT nIDItem, string & rString, UINT nFlags )

Parameters

nIDItem
items command ID or index
rString
[out] the returned string value of the item
nFlags
flag to indicate if nIDItem is command ID or index,
could be one of the following, MF_BYCOMMAND or MF_BYPOSITION. Default is MF_BYCOMMAND

Return

returns the size of the string

Examples

Remark

See Also

Header to Include

Control.h