Share via


CEdit::GetRect

voidGetRect(LPRECTlpRect**)const;**

Parameters

lpRect

Points to the RECT structure that receives the formatting rectangle.

Remarks

Call this function to get the formatting rectangle of an edit control. The formatting rectangle is the limiting rectangle of the text, which is independent of the size of the edit-control window.

The formatting rectangle of a multiple-line edit control can be modified by the SetRect and SetRectNP member functions.

For more information, see in the Win32 documentation.

Example

See the example for CEdit::LimitText.

CEdit OverviewClass MembersHierarchy Chart

See Also   CEdit::SetRect, CEdit::SetRectNP