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
CyberItemobject for this operation.- return value
- The
ODWindowobject if the Cyberdog item is displayed; otherwise,kODNULL.DISCUSSION
This method is called by theCyberSession::FindCyberItemWindowandCyberSession::SelectCyberItemWindowmethods to retrieve theODWindowobject 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
CanShowCyberItemmethod uses to determine whether a Cyberdog item is displayed in a window.If you subclass
CyberPartExtensionand 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
TheCanShowCyberItemmethod (page 284).
TheCyberSession::FindCyberItemWindowmethod (page 359).
TheCyberSession::SelectCyberItemWindowmethod (page 373).