FIX: VB6 IDE Scrolling using the MouseWheel
I’m sure most of you are aware of the frustrations of trying to get your mouse wheel to work in the VB6 IDE. The last word on this was that Intellipoint 4.12 was the only way to get this to work properly. It has been broken in Intellipoint 5.0 (and 4.9). There is a KB article in the works that discusses this behavior. When available the article should be located at:
Q837910 Mouse wheel events do not work on Microsoft Visual Basic 6.0 IDE - https://support.microsoft.com/?id=837910
For most of us using Intellipont 4.12 is certainly an option. For those of us using IntelliMouse Explorer 2.0 (and other similar fancy hardware) we like to have all of our hardware features and would gladly sacrifice the VB6 IDE wheel scrolling to use our entire feature set in all other applications. While this is a correct statement unto itself, it is also untrue. The proverbial: “I want my cake and eat it too!”
I finally got frustrated with this whole spiel and wrote an add-in for the VB6 IDE that makes the mouse wheel work within the development environment. I’ve contacted the content management folks and have sent them the add-in. They are going to amend the KB article and provide a link where everyone can download the add-in.
Happy Scrolling!
…is there anything else I can fix?
FYI – Visual Studio Service Pack 6 is available!!!
Comments
- Anonymous
April 05, 2004
I Actually use freewheel a little product written by an ethusiast it works great here is the URL: http://www.geocities.com/SiliconValley/2060/freewheel.html - Anonymous
April 12, 2004
I don't know when that article is going to be there. How about you provide a link now? - Anonymous
April 13, 2004
Munish,
Unfortunately as I mention above I don't have a place to host the file therefore there is no link to download the add-in. If you provide me your e-mail address I maybe able to e-mail it to you.
Thanks! - Anonymous
April 15, 2004
Hey everyone, the kb article above is now published! - Anonymous
April 15, 2004
Rob,
I couldn't find the link to your add-in in the QArticle.
I wonder why this issue wasn't fixed in SP6 given it has been around a long time.
Etienne, Freewheel is a great and I like it's extra features. Thanks. - Anonymous
April 21, 2004
The referenced article, Q837910, does not mention any add-ins. Rather, it just suggests to downgrade your Intellipoint software. - Anonymous
April 21, 2004
Hey folks,
I see that the KB article has yet to be updated. I've checked with the content folks and they are going to updated it. I wasn't given a ETA on when it would be done but it was "soon." Please bear with them! - Anonymous
May 06, 2004
Just checked on the KB article. It looks like the fix has been posted but there is an error on the workaround section.
On step 3 of the work around it says to register the addin using "regsvr" this needs to be "regsvr32". I contacted the content folks yet again and they will get the KB article changed.
I just wanted to give a heads up on that! - Anonymous
May 13, 2004
Is this fix included in SP6? - Anonymous
May 13, 2004
No, this FIX is not part of SP6. This add-in was a side project on my own and was not sponsored hence it not being included within SP6. - Anonymous
May 13, 2004
Yeah I realised that after installing SP6 :(.
Your fix works great. Thanks. - Anonymous
May 18, 2004
The article is now updated! Works perfectly. Thanks a ton Rob. - Anonymous
May 20, 2004
It's mostly working fine, until I try to use the code window devider to view two parts of the same code file at once.
Using the scroll wheel now scrolls both the top and bottom panes at the same time.
Thanks anyway
Really useful to use with the Bluetooth Mouse - Anonymous
May 21, 2004
Edward,
Thanks for the feedback! Unfortunately without modifying the IDE itself there's no way to get the split code window to work with the mouse wheel.
Since most people don't use this functionality (or even know of it's existance) I was hoping it would go unoticed! :) - Anonymous
June 10, 2004
Works great. Thanks for the fix. - Anonymous
August 07, 2004
Thanks for this fix!
It has been annoying for a long time not to be able to scroll with the mouse wheel!
I found a way to get the split code window to scroll only one window.
In IsVerticalScrollBar I added this to the test:
wi.rcWindow.Top < YPos And _
wi.rcWindow.Bottom > YPos
During my tests I discovered that VB6 crashes if I in the Ad-In manager uncheck Loaded and Clicks OK. Is this a problem in VB6 or in the Mouse Fix?