Important: The information in this document is obsolete and should not be used for new development.
OpenPart
Opens a part to display the data referenced by the specified Cyberdog item.
void OpenPart (in CyberItem item, in ODPart part, in ParameterSet openParams);
item
- The
CyberItem
object that is being opened.part
- The part that is to display the content associated with the Cyberdog item.
openParams
- The parameter set associated with the opening process.
DISCUSSION
A Cyberdog display part calls this method to open a part to display the content associated with a Cyberdog item. The opener part displays the specified part either by assigning the part to its own frames or by opening the part in its own window.
An opener part may also call this method from its
- If the opener part is embedded in an OpenDoc draft and the display part resides in the same draft, the opener part assigns the display part to its own frames by calling the
ChangePart
method for each of its frames.- Otherwise, the opener part calls the display part's
Open
method to open the part in its own window.
OpenFile
method after creating an OpenDoc part to display the content of a Cyberdog item downloaded by the download part.If you subclass
CyberOpenerPartExtension
, you must 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
TheOpenFile
method (page 274).