CRichEditCtrl::GetRect

void GetRect( LPRECT lpRect ) const;

Parameters

lpRect

CRect or pointer to a RECT to receive the formatting rectangle of this CRichEditCtrl object.

Remarks

Call this function to retrieve the formatting rectangle for this CRichEditCtrl object. The formatting rectangle is the bounding rectangle for the text. This value is independent of the size of the CRichEditCtrl object.

For more information, see EM_GETRECT in the Win32 documentation.

Example

See the example for LimitText.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::SetRect