I'm trying to find a way to scroll anything on the screen that has a
scrollbar (... or can be scrolled).  I know I can simulate wheel
events with mouse_event and sendInput.  The latter allows horizontal
scrolling in vista, but I would like horizontal scrolling in XP too.
Also, it would nice if the resolution were better (scrolling based on
pixels rather than lines).  I tried getting the underlying control
using WindowFromPoint and the mouse cursor position and then using
SendMessage on the resulting handle, but I haven't actually gotten
this to scroll most items on my screen (it worked for one textbox, but
the others either didn't do anything, or the scrollbar moved but the
content didn't).  Any ideas on how to make this work or other ways of
getting things to scroll?  Thanks!

Reply via email to