다음을 통해 공유


CWindow::GetClientRect

클라이언트 영역 좌표를 검색합니다.

BOOL GetClientRect(
   LPRECT lpRect 
) const throw();

설명

참조 GetClientRect 에 있는 Windows SDK.

예제

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

요구 사항

헤더: atlwin.h

참고 항목

참조

CWindow 클래스

CWindow::GetWindowRect

RECT