944,144 Members | Top Members by Rank

Ad:
Oct 3rd, 2007
0

Mouse Wheel

Expand Post »
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
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
JohnKelly is offline Offline
26 posts
since Sep 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Run methods at a certain time
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: how to separate the date into day, month, and year??





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC