Поделиться через


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

См. также

Основные понятия

CRichEditCtrl Class

CRichEditCtrl Members

Hierarchy Chart

CRichEditCtrl::SetRect