| | |
Mouse Wheel
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Sep 2006
Posts: 23
Reputation:
Solved Threads: 0
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
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
- Mouse Wheel being weird (USB Devices and other Peripherals)
- My mouse wheel stopped working. (USB Devices and other Peripherals)
- Change Web Page Font Size on the Fly (Windows tips 'n' tweaks)
- 3-button mouse wheel in kubuntu (*nix Hardware Configuration)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Run methods at a certain time
- Next Thread: how to separate the date into day, month, and year??
Views: 2227 | Replies: 0
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport date delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading record refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





