Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This message retrieves the character index of a line in a multiline edit control.
Syntax
EM_LINEINDEX wParam = (WPARAM) line; lParam = 0; |
Parameters
- line
-
Specifies the zero-based line number. A value of –1 specifies the line number of the current line, which is the line that contains the cursor.
- lParam
-
Not used; set to 0.
Return Value
The character index of the line specified in the lineparameter, or –1 if the specified line number is greater than the number of lines in the edit control. The character index is the number of characters from the beginning of the edit control to the first character of the specified line.
Requirements
Header | windows.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |