title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
EM_FILELINEFROMCHAR message (CommCtrl.h) |
Gets the index of the line that contains the specified character index in a multiline edit control, independently of how lines are displayed on the screen. |
e8e9217b-3f0c-478d-b44d-2a51868dbc5a |
|
|
|
|
|
reference |
05/31/2018 |
Gets the index of the line that contains the specified character index in a multiline edit control, independently of how lines are displayed on the screen. A character index is the zero-based index of the character from the beginning of the edit control.
-
wParam
-
The character index of the character contained in the line whose number is to be retrieved. If this parameter is -1, EM_FILELINEFROMCHAR retrieves either the line number of the current line (the line containing the caret) or, if there is a selection, the line number of the line containing the beginning of the selection.
-
lParam
-
This parameter is not used.
The return value is the zero-based line number of the line containing the character index specified by wParam, independently of how lines are displayed on the screen.
Requirement | Value |
---|---|
Minimum supported client |
Windows 10, 1809 [desktop apps only] |
Minimum supported server |
Windows Server 2019 [desktop apps only] |
Header |
|
-
Reference