Export (0) Print
Expand All
Expand Minimize


Retrieves the formatting rectangle for this CRichEditCtrl object.

void GetRect( 
   LPRECT lpRect  
) const;


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 Windows SDK.

See the example for LimitText.

Header: afxcmn.h

© 2014 Microsoft