Important: The information in this document is obsolete and should not be used for new development.
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
ODMenuBarobject.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'sAdjustmethod, 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 theAppendCyberMenuCommandsmethod.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::Adjustmethod (page 342).