Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
CWnd*GetOwner()const;
Return Value
A pointer to a CWnd object.
Remarks
Retrieves a pointer to the owner of the window. If the window has no owner, then a pointer to the parent window object is returned by default. Note that the relationship between the owner and the owned differs from the parent-child aspect in several important aspects. For example, a window with a parent is confined to its parent window’s client area. Owned windows can be drawn at any ___location on the desktop.
The ownership concept of this function is different from the ownership concept of .
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::GetParent, CWnd::SetOwner