共用方式為


CWindow::GetWindowRect

Retrieves the window's bounding dimensions.

BOOL GetWindowRect(
   LPRECT lpRect 
) const throw();

Remarks

See GetWindowRect in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

CWindow::GetClientRect

RECT

Other Resources

CWindow Members