Important: The information in this document is obsolete and should not be used for new development.
AcquireContainingNavigatorPart
Acquires a frame's containing navigator.
ODPart AcquireContainingNavigatorPart (in ODFrame frame);
frame- The frame where the search for a containing navigator begins.
- return value
- A reference to the navigator that contains the frame, if one exists; otherwise,
kODNULL.DISCUSSION
You call this method to retrieve a frame's containing navigator part, if one exists. This method traverses the frame hierarchy until it finds the navigator.This method increments the reference count of the
ODPartobject that it returns; the caller is responsible for calling theODPartobject'sReleasemethod.Do not subclass this class.
SEE ALSO
TheIsContainedInRootNavigatorPartmethod (page 366).