CWnd::GetWindowRect

Call this member function to copy the dimensions of the bounding rectangle of the CWnd object into the structure pointed to by lpRect.

Syntax

void GetWindowRect( LPRECT lpRect ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetClientRect, CWnd::MoveWindow, CWnd::SetWindowPos