Important: The information in this document is obsolete and should not be used for new development.
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 theCyberSession::FindCyberItemWindow
andCyberSession::SelectCyberItemWindow
methods to retrieve theODWindow
object in which this display part is displaying the content referenced by the specified Cyberdog item. The superclass implementation of this method returnskODNULL
.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
TheCanShowCyberItem
method (page 284).
TheCyberSession::FindCyberItemWindow
method (page 359).
TheCyberSession::SelectCyberItemWindow
method (page 373).