共用方式為


CWindow::operator =

Assigns an HWND to the CWindow object by setting the m_hWnd member to hWnd.

CWindow& operator =(
   HWND hWnd 
) throw();

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

Other Resources

CWindow Members