An application sends an EM_GETWORDBREAKPROC message to an edit control to retrieve the address of the current wordwrap function.
EM_GETWORDBREAKPROC wParam = 0; // not used; must be zero lParam = 0; // not used; must be zero
This message has no parameters.
The return value specifies the address of the application-defined wordwrap function. The return value is NULL if no wordwrap function exists.
A wordwrap function scans a text buffer that contains text to be sent to the display, looking for the first word that does not fit on the current display line. The wordwrap function places this word at the beginning of the next line on the display. A wordwrap function defines the point at which Windows should break a line of text for multiline edit controls, usually at a space character that separates two words.
EditWordBreakProc, EM_FMTLINES, EM_SETWORDBREAKPROC
file: /Techref/os/win/api/win32/mess/src/msg05_13.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/12/5 04:43,
3.17.154.144: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://massmind.org/techref/os/win/api/win32/mess/src/msg05_13.htm"> EM_GETWORDBREAKPROC</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to massmind.org! |
.