Posted 4 August 2017, 3:16 pm ESTI am tryin to use GetScrollPos the API call to get the current position of a scroll on a Listview. However, the value returned is always 0.
Any Help Please?
Public Declare Function GetScrollPos Lib "user32" (ByVal hwnd As Long, ByVal nBar As Integer) As Integer
intPos = GetScrollPos(ctListView1.hwnd, SBS_VERT)