CWnd::CalcWindowRect

Call this member function to compute the required size of the window rectangle, based on the desired client-rectangle size. Called by the framework to size windows prior to creation.

Syntax

virtual void CalcWindowRect( LPRECT lpClientRect, UINT nAdjustType = adjustBorder );

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