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


AddCyberItemToLog

Adds a Cyberdog item to the log.

void AddCyberItemToLog (in CyberItem parent, 
in CyberItem child);
parent
The CyberItem object's parent, if one exists; otherwise, kODNULL.
child
The CyberItem object to be added.
DISCUSSION
This method calls the log part extension's AddCyberItemToLog method. The log can display the hierarchical relationships among the Cyberdog items in the log. If the item to be added to the log has a parent, you should pass it in the parent parameter.

By convention, a display part is responsible for adding to the log the item whose referenced content it displays. When a display part's window gets the selection focus, the part should call SetLogFinger to set the log finger to point to the item.

Do not subclass this class.

SEE ALSO
The ClearLogFinger method (page 353).
The LogContainsCyberItem method (page 369).
The SetLogFinger method (page 375).
The CyberLogExtension::AddCyberItemToLog method (page 251).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 JUL 1996