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
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'sAdjust
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 theAppendCyberMenuCommands
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::Adjust
method (page 342).