Call this member function to obtain a pointer to the requested window.
CWnd* GetWindow ( UINT nCmd ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
Windows CE 1.0 does not support owned windows, except for dialog boxes. In version 1.0, you cannot pass the GW_OWNER value in the nCmd parameter unless the specified window is a dialog box.
Windows CE versions 2.0 and later support owned windows.
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetParent, CWnd::GetNextWindow