CWindow::GetClientRect

BOOL GetClientRect( LPRECT lpRect ) const;

See GetClientRect in the Win32 SDK.

Remarks

Retrieves the coordinates of the client area.

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(hWndFoo);
RECT rc;
myWindow.GetClientRect(&rc);

CWindow OverviewClass Members

See Also   CWindow::GetWindowRect, RECT