Scrolling control under mouse cursor

M

Martin

I'm looking for a way to smoothly scroll the control under the mouse cursor
(not necessarily part of my application). I'm using C# with WindowFromPoint
to get the handle, and I've tried SetScrollPos and ScrollWindowEx without any
success. I'm simulating mouse wheel events right now, but this only scrolls
the active window and doesn't allow horizontal scrolling except in Vista.
Also, it doesn't allow precise scrolling at the pixel level (as far as I can
tell).

Any suggestions? Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top