Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
Type: int
The length of the line.
Remarks
For more information, see EM_LINELENGTH.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | windowsx.h |