CWindow::GetClientRect
Recupera as coordenadas da área cliente.
BOOL GetClientRect(
LPRECT lpRect
) const throw();
Comentários
Consulte GetClientRect em 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