This operator assigns an HWND to the CWindow object by setting the m_hWnd data member to hWnd.
At a Glance
Syntax
operator HWND( ) const;