Question

My WinForms app uses the mouse wheel, subscribing to the Control.MouseWheel event. How can I get it to work with scrolling methods from other input devices, in particular "finger along the edge" scrolling on the (Synaptics) trackpad on my T61? I assume that I need to wire up the trackpad messages to the Control.MouseWheel event somehow, but I have no idea where to start...

EDIT: This is currently not working; so my trackpad is evidently not sending Control.MouseWheel messages.

Thanks!

(I am using C#, but this is surely .Net general).

Was it helpful?

Solution

The Lenovo drivers don't work the way that you'd hope. There's a workaround, posted here: http://blogs.msdn.com/b/markrideout/archive/2006/01/12/datagridview-mouse-scrolling-button-with-ibm-ultranav-driver.aspx which involves tricking the mouse driver into recognizing that you want scroll messages.

OTHER TIPS

If it is just your machine, then easiest thing to do is to edit TP4table.dat file and add application name in it, as explained here: http://www.syaoran.net/blog/2010/01/how-to-enable-thinkpad-trackpoint-scrolling/

In general, the scrolling action on a trackpad simply sends the same signals to the PC as the scroll wheel on a mouse so your current implementation should work.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top