AcquireWindow
TheAcquireWindowmethod returns a reference to the window this frame is displayed in.
ODWindow AcquireWindow ();
- return value
- A reference to the window this frame is displayed in, or
kODNULLif this frame does not actually appear in any window. For example, a printing frame does not appear in a window.DISCUSSION
Only the root frame of a window has a reference to the window; all its embedded frames then inherit this value.This method increments the reference count of the returned window object. When you have finished using that window object, you should call its
Releasemethod.SEE ALSO
TheODFacet::GetWindowmethod (page 249).
TheODFrame::SetWindowmethod (page 340).