Syntax
xBool MenuItemSetId( MenuItem *item, int id );
Arguments
item the menu item to change.
id the number to store.
Return value
T on success, or F if the object is NULL.
Description
The modal menu returns the item's id when it runs the item. The setter stores the supplied value directly, including `NIL`. The constructors use `0` when passed `NIL`.