|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
EM_GETRECT
An application sends an EM_GETRECT message 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.
EM_GETRECT
wParam = 0; // not used; must be zero
lParam (LPARAM) (LPRECT) lprc; // address of structure for rectangle
Parameters
lprc
Value of lParam. Points 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
EM_SETRECT, EM_SETRECTNP, RECT
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|