IsCommandRegistered
Mac OSThe
IsCommandRegisteredmethod returns a Boolean value that indicates whether the specified command ID is registered with this menu bar object.
ODBoolean IsCommandRegistered (in ODCommandID command);
command- The command ID of the menu item to be checked. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
- return value
kODTrueif the specified command ID is registered with this menu bar object, otherwisekODFalse.SEE ALSO
TheODCommandIDtype (page 895).