PyCEdit.GetFirstVisibleLine

int = GetFirstVisibleLine()

Returns zero-based index of the topmost visible line.

MFC References

CEdit::GetFirstVisibleLine

Return Value

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