EM_GETFIRSTVISIBLELINE

This message is sent by an application to determine the uppermost visible line in an edit control. This message has no parameters.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

EM_GETFIRSTVISIBLELINE wParam = 0; lParam = 0;

Return Values

The return value is the zero-based index of the uppermost visible line in a multiline edit control. For single-line edit controls, the return value is the zero-based index of the first visible character.