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


CreatePartInCyberDocument

Creates a new part in the Cyberdog session document.

ODPart CreatePartInCyberDocument (in ODType partType,
in ODEditor optionalEditor);
partType
The part kind to use for the new part.
optionalEditor
The part editor to use for the new part.
return value
The newly created part.
DISCUSSION
This method is called by the CreateCyberPart method to create a new display part in the Cyberdog session document. This method calls the ODDraft::CreatePart method.

You cannot use the standard OpenDoc code for closing a window when closing a part created using CreatePartInCyberDocument. Instead, you should call CloseCyberDraftWindow.

Do not subclass this class.

SEE ALSO
The CloseCyberDraftWindow method (page 353).
The CreateCyberPart method (page 356).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996