Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
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"
Today is November 21, 2024, 3:51 am This article has been viewed 35202 times. Google search has resulted in 41 hits on this article since January 25, 2004.
|
|