Expand Minimize
This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.