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
The return value is not a meaningful value.
You can modify the formatting rectangle of a multiline edit control by using the EM_SETRECT and EM_SETRECTNP messages.
EM_SETRECT, EM_SETRECTNP, RECT
file: /Techref/os/win/api/win32/mess/src/msg05_8.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/18 21:33,
3.17.173.252:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://ecomorder.com/techref/os/win/api/win32/mess/src/msg05_8.htm"> EM_GETRECT</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.