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
kODTrue
if 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'sHandleMenuEvent
method calls the Cyberdog service menu object'sDoCommand
method, which, in turn, calls this method.If you subclass
CyberService
and 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
TheAppendCyberMenuCommands
method (page 332).
TheCyberServiceMenu::DoCommand
method (page 343).