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/14 17:35,
3.142.174.13: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://linistepper.com/techref/os/win/api/win32/mess/src/msg05_19.htm"> EM_LINEINDEX</A> |
Did you find what you needed? |