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/5 17:39,
3.16.218.116:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©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://massmind.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 massmind.ecomorder.com! |
.