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


GetCyberItemWindow

Retrieves the window in which a Cyberdog item's referenced content is displayed.

ODWindow GetCyberItemWindow (in CyberItem item);
item
The CyberItem object for this operation.
return value
The ODWindow object if the Cyberdog item is displayed; otherwise, kODNULL.
DISCUSSION
This method is called by the CyberSession::FindCyberItemWindow and CyberSession::SelectCyberItemWindow methods to retrieve the ODWindow object in which this display part is displaying the content referenced by the specified Cyberdog item. The superclass implementation of this method returns kODNULL.

This method should use the same algorithm that CanShowCyberItem method uses to determine whether a Cyberdog item is displayed in a window.

If you subclass CyberPartExtension and override this method, your override must not call its inherited method; that is, your override method must implement this method's functionality completely.

SEE ALSO
The CanShowCyberItem method (page 284).
The CyberSession::FindCyberItemWindow method (page 359).
The CyberSession::SelectCyberItemWindow method (page 373).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996