An application sends an EM_SETRECTNP message to set the formatting rectangle of a multiline 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. When the edit control is first created, the formatting rectangle is the same as the client area of the edit control window. By using the EM_SETRECTNP message, an application can make the formatting rectangle larger or smaller than the edit control window.
The EM_SETRECTNP message is identical to the EM_SETRECT message, except that the edit control window is not redrawn.
This message is processed only by multiline edit controls.
EM_SETRECTNP wParam = 0; // not used; must be zero lParam = (LPARAM) (LPRECT) lprc; // address of new rectangle
This message does not return a value.
file: /Techref/os/win/api/win32/mess/src/msg06_16.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/8 07:26,
3.138.181.42: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.org/techref/os/win/api/win32/mess/src/msg06_16.htm"> EM_SETRECTNP</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.