` Printed Icetips Article

Icetips Article



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"  wrote in message
news:3dc2e5b2@news.softvelocity.com...
> Is there anyway to turn off the MouseWheel while in a CW application EXE?
>
> All my clients are complaining that when they use the MouseScroll Wheel on
a
> Browse it locks up the program!
>
> They said it would be OK to turn it Off if the problem can not be fixed.
>
> Kevin Name Kevin B. Erskine, Owner, TopSpeed Certified Clarion
Professional
> Website http://www.Software-By-Ragazzi.com email
> KErskine@Software-By-Ragazzi.com Yahoo Kevin_Erskine [
> http://messenger.yahoo.com/messenger ] ICQ 10761812 [ http://www.icq.com ]
> Phone 415-331-6003 (Pacific Standard Time) Location Beautiful Sausalito,
> California, USA "Begin a new era of productivity..."© '96-02 Software By
> Ragazzi tm
>
>



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.