This message is sent by an application to retrieve the formatting rectangle of an edit control. The formatting rectangle is the limiting rectangle of the text. The limiting rectangle is independent of the size of the edit-control window.
At a Glance
Header file: | Winuser.h |
Windows CE versions: | 1.0 and later |
Syntax
EM_GETRECT wParam = 0; lParam (LPARAM)(LPRECT) lprc;
Parameters
lprc
Long pointer to the RECT structure that receives the formatting rectangle.
Return Values
The return value is not a meaningful value.
Remarks
You can modify the formatting rectangle of a multiline edit control by using the EM_SETRECT and EM_SETRECTNP messages.
See Also