共用方式為


CWindow::GetWindow

Retrieves the specified window.

HWND GetWindow( 
   UINT nCmd  
) const throw();

Remarks

See GetWindow in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetTopWindow

CWindow::GetTopLevelParent

CWindow::GetTopLevelWindow