CWindow& operator =( HWND hWnd );
Remarks
Assigns an HWND to the CWindow object by setting the m_hWnd member to hWnd.
CWindow Overview | Class Members