CWnd::m_hWnd

The handle of the Windows window attached to this CWnd.

HWND m_hWnd;

Remarks

The m_hWnd data member is a public variable of type HWND.

Requirements

Header: afxwin.h

See Also

Concepts

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::Attach

CWnd::Detach

CWnd::FromHandle