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/25 16:52,
3.145.57.5: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://sxlist.com/TECHREF/os/win/api/win32/mess/src/msg05_8.htm"> EM_GETRECT</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.