Edit_GetLineCount macro (windowsx.h)

Gets the number of lines in the text of an edit control. You can use this macro or send the EM_GETLINECOUNT message explicitly.

Syntax

void Edit_GetLineCount(
   hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

Return value

None

Remarks

For more information, see EM_GETLINECOUNT

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