EnableAndCheckCommand
Mac OSThe
EnableAndCheckCommandmethod enables or disables, and checks or unchecks, the specified menu item.
void EnableAndCheckCommand (in ODCommandID cmdNumber, in ODBoolean enable, in ODBoolean check);
cmdNumber- The command ID of the menu item to be enabled or disabled, or checked or unchecked. 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.checkkODTrueif the menu item is to be checked, orkODFalseif the menu item is to be unchecked.SEE ALSO
TheODCommandIDtype (page 895).
"Enabling Menus and Commands" on page 244 in OpenDoc Programmer's Guide.