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


CyberMenuFocusAcquired

Notifies this Cyberdog service that the part associated with a Cyberdog service menu object has acquired the focus.

void CyberMenuFocusAcquired (in ODFrame frame, 
in CyberMenuData menuData);
frame
The frame that is acquiring the menu focus.
menuData
A pointer to the service's menu data.
DISCUSSION
When a display part gets the menu focus and needs to display its menus, it calls its Cyberdog service menu object's MenuFocusAcquired method, which, in turn, calls this method. You can override this method to install the menu items for this service when the display part acquires the focus.

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 CyberMenuFocusLost method (page 335).
The CyberServiceMenu::MenuFocusAcquired method (page 344).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996