If you send WM_VSCROLL to a listview window handle you will scroll its
vertical scrollbar. Here is a small example how it can be done:
lsitView.Capture = true;
IntPtr hwnd = GetCapture();
lsitView.Capture = false;
SendMessage(hwnd, WM_VSCROLL, SB_LINEDOWN, 0);
....
const int WM_VSCROLL = 0x115;
const int SB_LINEUP = 0;
const int SB_LINEDOWN = 1;
const int SB_PAGEUP = 2;
const int SB_PAGEDOWN = 3;
[DllImport("coredll.dll")]
extern static IntPtr GetCapture();
[DllImport("coredll.dll")]
extern static int SendMessage(IntPtr hWnd, uint Msg, int WParam, int
LParam);