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


int Edit_LineLength(
  HWND hwndCtl,
  int line
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

line

Type: int

The zero-based index of the line.

Return value

The length of the line.

Remarks

For more information, see EM_LINELENGTH.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft