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 / CyberService


AdjustCyberMenu

Adjusts the menu items of this Cyberdog service.

void AdjustCyberMenu (in ODMenuBar menuBar, 
in ODFrame frame, 
in long baseCommandID, 
in CyberMenuData menuData);
menuBar
The current ODMenuBar object.
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.
DISCUSSION
This method is called by a Cyberdog service menu object's Adjust method, which adjusts all of a display part's service-related menus when the display part gets the menu focus. This method should enable and disable this service's menu items for the specified frame. This method is responsible for adjusting all of the menu items added to the menu bar by the AppendCyberMenuCommands 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
The AppendCyberMenuCommands method (page 332).
The CyberServiceMenu::Adjust method (page 342).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996