CWnd::GetWindow

Call this member function to obtain a pointer to the requested window.

Syntax

CWnd* GetWindow ( UINT nCmd ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

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.

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetParent, CWnd::GetNextWindow