Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
MFC
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CRichEditCtrl::GetRect 

Retrieves the formatting rectangle for this CRichEditCtrl object.


void GetRect(
   LPRECT lpRect 
) const;

Parameters

lpRect

CRect or pointer to a RECT to receive the formatting rectangle of 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 Platform SDK.

See the example for LimitText.

Community Additions

ADD
Show:
© 2015 Microsoft