共用方式為


CWindow::GetWindow

擷取指定的視窗。

HWND GetWindow( 
   UINT nCmd  
) const throw();

備註

請參閱在 Windows SDK的 GetWindow

需求

Header: atlwin.h

請參閱

參考

CWindow Class

CWindow::GetTopWindow

CWindow::GetTopLevelParent

CWindow::GetTopLevelWindow