`
Windows API: TurnOff MouseWheel? 2002-11-01 -- Jim Kane Newsgroups: comp.lang.clarion getsystemmetrics can tell you if there is a mouse wheel systemparametersinfo() can tell you its scroll lines and setting that to zero disables it. Control Panel\Microsoft Input Devices\Mouse\Exceptions\ registery key and and some registry programming is much better - it lists your program as an exception but doesnt take effect to next boot. so I use a combo of both. if I dont find the registry key I disable the mouse whichel the program runs for ALL programs. if I see the registry key then I do nothing. After tons of complaints down to none with this approach. MSDN has all the details as usual. jim kane "Kevin Erskine" Printed November 23, 2024, 5:51 am This article has been viewed/printed 35205 times. Google search has resulted in 41 hits on this article since January 25, 2004. |