CWindow::GetClientRect

Recupera le coordinate dell'area client.

BOOL GetClientRect(
   LPRECT lpRect 
) const throw();

Note

Vedere GetClientRect in Windows SDK.

Esempio

//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);

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow

CWindow::GetWindowRect

RECT