Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Cyberdog Programmer's Kit / Part 3 - Cyberdog Reference
Chapter 7 - Classes and Methods / CyberServiceMenu


DoCommand

Handles a menu event for this Cyberdog service menu object.

ODBoolean DoCommand (in long commandID, 
in ODFrame frame);
commandID
The command ID from the ODMenuBar object.
frame
The frame associated with this menu event.
return value
kODTrue if Cyberdog handles the menu event; otherwise, kODFalse.
DISCUSSION
This method handles Cyberdog service-related menu commands. A display part that displays service-related menus should call this method from within its HandleMenu method to allow the Cyberdog services to handle their menu commands. DoCommand iterates through all the Cyberdog services, calling each service's DoCyberMenuCommand method until a service's method returns kODTrue.

Do not subclass this class.

SEE ALSO
The CyberService::DoCyberMenuCommand method (page 335).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996