Export (0) Print
Expand All
Expand Minimize

CRichEditCtrl::GetRect

Retrieves the formatting rectangle for this CRichEditCtrl object.

void GetRect( 
   LPRECT lpRect  
) const;

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

See the example for LimitText.

Header: afxcmn.h

Show:
© 2014 Microsoft