Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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 23, 2024, 2:14 am This article has been viewed 35205 times. Google search has resulted in 41 hits on this article since January 25, 2004.
|
|