CWnd::GetWindowRect
Visual Studio 2010
Copies the dimensions of the bounding rectangle of the CWnd object to the structure pointed to by lpRect.
void GetWindowRect( LPRECT lpRect ) const;
Copies the dimensions of the bounding rectangle of the CWnd object to the structure pointed to by lpRect.
void GetWindowRect( LPRECT lpRect ) const;
Points to a CRect object or a RECT structure that will receive the screen coordinates of the upper-left and lower-right corners.