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


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 the CreatePartInCyberDocument method. Typically, you call CloseCyberDraftWindow 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 returns kODFalse to indicate that the window should be closed normally.

Do not subclass this class.

SEE ALSO
The CreatePartInCyberDocument method (page 357).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996