Important: The information in this document is obsolete and should not be used for new development.
DoCyberMenuCommand
Performs a menu command.
ODBoolean DoCyberMenuCommand (in long commandID, in ODFrame frame, in long baseCommandID, in CyberMenuData menuData);
commandID- The command ID of the menu item.
frame- The frame that has the menu focus.
baseCommandID- The Cyberdog service menu object's base command ID for service-related commands.
menuData- A pointer to the service's menu data.
- return value
kODTrueif the menu command was handled; otherwise,kODFalse.DISCUSSION
When a display part has the menu focus and the user selects a menu command, the part'sHandleMenuEventmethod calls the Cyberdog service menu object'sDoCommandmethod, which, in turn, calls this method.If you subclass
CyberServiceand override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.SEE ALSO
TheAppendCyberMenuCommandsmethod (page 332).
TheCyberServiceMenu::DoCommandmethod (page 343).