CWnd::GetWindow

This method obtains a pointer to the requested window.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CWnd* GetWindow ( UINT nCmd ) const;

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::GetParent, CWnd::GetNextWindow