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


InstallCyberDocumentMenu

Installs a Document menu customized for Cyberdog display parts contained in the Cyberdog session document.

Handle InstallCyberDocumentMenu (in ODPart part, 
in ODMenuBar menuBar);
part
The part that owns the menu bar.
menuBar
The menu bar into which the custom Document menu should be installed.
return value
A handle to the Document menu.
DISCUSSION
You can call this method to replace the standard Document menu with a custom Document menu optimized for a Cyberdog display part contained in the session document. This method installs the custom Document menu only if the specified part is in the Cyberdog session document.

The display part is responsible for disposing of the menu handle returned by this method when the part is released.

Do not subclass this class.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996