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


ICyberServiceMenu

Initializes this Cyberdog service menu object.

void ICyberServiceMenu (in ODMenuBar menuBar, 
in ODPart part, 
in long baseCommandID);
menuBar
The menu bar to be modified.
part
The display part that owns the menu bar.
baseCommandID
The base command ID for this service menu object.
DISCUSSION
You call this method to initialize a newly created CyberServiceMenu object. This method installs all of the Cyberdog service-related menu items and registers their command numbers with the ODMenuBar object.

As a display part developer, you specify the base menu command ID to be used for the service menu object; however, the base command ID you choose should be in a range allowed by OpenDoc. For more information on registering menu command IDs with OpenDoc, see the chapter on windows and menus in OpenDoc Programmer's Guide.

Any display part that displays service-related menus should call this method from within its InitPart and InitPartFromStorage methods.

Do not subclass this class.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996