Important: The information in this document is obsolete and should not be used for new development.
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 theCreateCyberPartmethod to create a new display part in the Cyberdog session document. This method calls theODDraft::CreatePartmethod.You cannot use the standard OpenDoc code for closing a window when closing a part created using
CreatePartInCyberDocument. Instead, you should callCloseCyberDraftWindow.Do not subclass this class.
SEE ALSO
TheCloseCyberDraftWindowmethod (page 353).
TheCreateCyberPartmethod (page 356).