Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the coordinates of the client area.
BOOL GetClientRect(
LPRECT lpRect
) const throw();
Remarks
See GetClientRect in the Windows SDK.
Example
//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);
Requirements
Header: atlwin.h