EM_GETFIRSTVISIBLELINE

An application sends an EM_GETFIRSTVISIBLELINE message to determine the topmost visible line in an edit control.

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return Value

The return value is the index of the topmost visible line. For single-line edit controls, the return value is zero.