Windows Dev Center

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 Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Windowsx.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft