MenuSetting::SetMenuItemString
Defined in:
Sets the name of a single menu item.
C4Configuration.hPrototype
void SetMenuItemString(int32 index, const char *string);
Parameters
index |
The index of the menu item whose name is being set. |
string |
The name of the menu item. |
Description
The SetMenuItemString function is used to specify the text for a particular menu item belonging to a MenuSetting object. This function should be called for each menu item after a MenuSetting object has been created with the index parameter ranging from 0 to n − 1, where n is the number of menu items specified by the itemCount parameter of the MenuSetting constructor.
