Edit_LineIndex macro (windowsx.h)
Gets the character index of the first character of a specified line in a multiline edit or rich edit control. You can use this macro or send the EM_LINEINDEX message explicitly.
Syntax
void Edit_LineIndex(
hwndCtl,
line
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
line
Type: int
The zero-based line number. A value of –1 specifies the current line number (the line that contains the caret).
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |