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


ShowCyberItem

Displays the content referenced by the specified Cyberdog item in this display part.

void ShowCyberItem (in CyberItem item);
item
The Cyberdog item to display.
DISCUSSION
This method is called by the CyberSession::SelectCyberItemWindow method to notify a Cyberdog display part to display the specified Cyberdog item. This method differs from OpenCyberItem; you call ShowCyberItem once you have determined (by calling CanShowCyberItem or GetCyberItemWindow) that the display part is already displaying a Cyberdog item equal to (or, for example, on the same page as) the specified Cyberdog item. Typically, you call ShowCyberItem when you want the display part to scroll to display a particular Cyberdog item.

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 GetCyberItemWindow method (page 286).
The OpenCyberItem method (page 290).
The CyberSession::SelectCyberItemWindow method (page 373).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996