Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.18 KB

nf-windowsx-edit_linefromchar.md

File metadata and controls

71 lines (58 loc) · 2.18 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:windowsx.Edit_LineFromChar
Edit_LineFromChar macro (windowsx.h)
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.
Edit_LineFromChar
Edit_LineFromChar macro [Windows Controls]
_win32_Edit_LineFromChar
_win32_Edit_LineFromChar_cpp
controls.Edit_LineFromChar
controls._win32_Edit_LineFromChar
windowsx/Edit_LineFromChar
controls\Edit_LineFromChar.htm
Controls
VS|Controls|~\controls\editcontrols\editcontrolreference\editcontrolmacros\edit_linefromchar.htm
12/05/2018
Edit_LineFromChar, Edit_LineFromChar macro [Windows Controls], _win32_Edit_LineFromChar, _win32_Edit_LineFromChar_cpp, controls.Edit_LineFromChar, controls._win32_Edit_LineFromChar, windowsx/Edit_LineFromChar
windowsx.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
Edit_LineFromChar
windowsx/Edit_LineFromChar
c++
APIRef
kbSyntax
HeaderDef
Windowsx.h
Edit_LineFromChar

Edit_LineFromChar macro

-description

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.

-parameters

-param hwndCtl

Type: HWND

A handle to the control.

-param ich

Type: int

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

-remarks

For more information, see EM_LINEFROMCHAR.