Compartilhar via


CWindow::GetClientRect

Recupera as coordenadas da área de cliente.

BOOL GetClientRect(
   LPRECT lpRect 
) const throw();

Comentários

See GetClientRect in the Windows SDK.

Exemplo

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

Cabeçalho: atlwin.h

Consulte também

Referência

Classe CWindow

CWindow::GetWindowRect

RECT

Outros recursos

CWindow membros