EM_GETLINECOUNT

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves the number of lines in a multiline edit control.

Syntax

EM_GETLINECOUNT 
    wParam = 0; 
    lParam = 0;

Parameters

  • wParam
    Not used; set to 0.
  • lParam
    Not used; set to 0.

Return Value

An integer specifying the number of lines in the multiline edit control indicates success. 1 indicates that the edit control contains no text.

Requirements

Header windows.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

EM_GETLINE
Edit Boxes Messages