共用方式為


CWindow::GetWindowRect

擷取視窗週框 (Bounding 維度。

BOOL GetWindowRect( 
   LPRECT lpRect  
) const throw();

備註

請參閱在 Windows SDK的 GetWindowRect

需求

Header: atlwin.h

請參閱

參考

CWindow Class

CWindow::GetClientRect

RECT