An application sends an EM_LINEINDEX message to retrieve the character index of a line in a multiline edit control. The character index is the number of characters from the beginning of the edit control to the specified line.
EM_LINEINDEX wParam = (WPARAM) line; // line number lParam = 0; // not used; must be zero
The return value is the character index of the line specified in the line parameter, or it is -1 if the specified line number is greater than the number of lines in the edit control.
file: /Techref/os/win/api/win32/mess/src/msg05_19.htm, 1KB, , updated: 2000/4/7 11:19, local time: 2024/11/29 18:56,
18.116.14.48: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://techref.massmind.org/Techref/os/win/api/win32/mess/src/msg05_19.htm"> EM_LINEINDEX</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.