Edit_LineLength macro

Retrieves the length, in characters, of a line in an edit or rich edit control. You can use this macro or send the EM_LINELENGTH message explicitly.

Syntax

void Edit_LineLength(
   hwndCtl,
   line
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

line

Type: int

The zero-based index of the line.

Return Value

None

Remarks

For more information, see EM_LINELENGTH.

Requirements

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