EnableCommand
Mac OSThe
EnableCommandmethod enables or disables the specified menu item.
void EnableCommand (in ODCommandID cmdNumber, in ODBoolean enable);
cmdNumber- The command ID of the menu item to be enabled or disabled. On the Mac OS platform, the command ID is defined as a signed 32-bit value.
enablekODTrueif the menu item is to be enabled, orkODFalseif the menu item is to be disabled.SEE ALSO
TheODCommandIDtype (page 895).
Listing 2-30 on page 86 in OpenDoc Cookbook.
"Enabling Menus and Commands" on page 244 in OpenDoc Programmer's Guide.