CSGetTopLine Function
Description
Returns the line number of the first visible line.
Syntax
VB/A 32bits
Private Declare Function CSGetTopLine Lib "consoul_010205_32.dll" ( _
ByVal hWnd As Long _
) As Integer
VB/A 64bits
Private Declare PtrSafe Function CSGetTopLine Lib "consoul_010205_64.dll" ( _
ByVal hWnd As LongPtr _
) As Integer
Return Value
The return value is the line number of the first visible line.
Parameters
hWnd
The window handle (HWND) of the Consoul window, as returned by CSCreateLogWindow.
Last updated: May 13 2022.