Important: The information in this document is obsolete and should not be used for new development.
CloseCyberDraftWindow
Closes a part window in the Cyberdog session document.
ODBoolean CloseCyberDraftWindow (in ODPart part);
part
- The part whose window should be closed.
- return value
kODTrue
if the window was closed; otherwise,kODFalse
.DISCUSSION
You call this method to close a window of a part that was created using theCreatePartInCyberDocument
method. Typically, you callCloseCyberDraftWindow
in response to a Close command or a click in a window's close box.If the specified part is in the Cyberdog session document, this method closes the part's window and returns
kODTrue
. If the part is in some OpenDoc document other than the session document, the method does not close the window and returnskODFalse
to indicate that the window should be closed normally.Do not subclass this class.
SEE ALSO
TheCreatePartInCyberDocument
method (page 357).