Compartir a través de


CWindow::GetClientRect

Recupera las coordenadas del área de cliente.

BOOL GetClientRect(
   LPRECT lpRect 
) const throw();

Comentarios

Vea GetClientRect en Windows SDK.

Ejemplo

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

Requisitos

encabezado: atlwin.h

Vea también

Referencia

Clase de CWindow

CWindow::GetWindowRect

RECT