Mouse Wheel

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Sep 2006
Posts: 23
Reputation: JohnKelly is an unknown quantity at this point 
Solved Threads: 0
JohnKelly JohnKelly is offline Offline
Newbie Poster

Mouse Wheel

 
0
  #1
Oct 3rd, 2007
Dear all

I am writing an App in VB6 and I want to trap the Mouse Wheel scroll. I have search on the web and found how to hook the windows messages. I set the hook on Form.Activate and then Unhook it in Form.deactivate.

This all seems to work OK exept !!!! when I run the program from within the VB6 developer and I press the exit form icon to close the program it seems to follow all the correct proceedures and triggers the call to unhook and then closes the program, but it also goes on to close the VB6 developer environment as well. Has anyone else experience this or has any pointers on how to trap the mousewheel event.

Thank you all in advance I have always found the help from this forum very beneficial.

John Kelly
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 2227 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC