This topic has not yet been rated - Rate this topic

CWnd::GetTopLevelOwner

Call this member function to retrieve the top-level window.

CWnd* GetTopLevelOwner( ) const;

Identifies the top-level window. The returned pointer may be temporary and should not be stored for later use.

The top-level window is the window that is a child of the desktop. If CWnd has no attached window, this function returns NULL.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ