scrolling

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
Need some help.
I'm using the mouse hook dll, to prevent mouse scrolling.
How do I make it load by default.
I want to do the reverse, I want the mouse scrolling to be disabled by
default, and activate it if I want.
 
In the Load event of the very first form that your application opens place
this code:

' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF


In the Unload event of the very last form you close place this code:

' Turn the MouseWheel On
Dim blRet As Boolean
blRet = MouseWheelON


--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top