Edit_LineFromChar macro

Gets the index of the line that contains the specified character index in a multiline edit or rich edit control. You can use this macro or send the EM_LINEFROMCHAR message explicitly.

Syntax

void Edit_LineFromChar(
   hwndCtl,
   ich
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

ich

Type: int

The zero-based index of the character from the beginning of the text in the control.

Return Value

None

Remarks

For more information, see EM_LINEFROMCHAR.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h