CWindow::GetClientRect
检索工作区的坐标。
BOOL GetClientRect(
LPRECT lpRect
) const throw();
备注
在参见 Windows SDK的 GetClientRect。
示例
//The following example attaches an HWND to the CWindow object and
//calls CWindow::GetClientRect() to get the client area rectangle
//of the window
CWindow myWindow;
myWindow.Attach(hWnd);
RECT rc;
myWindow.GetClientRect(&rc);
要求
Header: atlwin.h