Solved

How do I get the Wheel Mouse to work on my VB6 forms?

Posted on 2007-04-09
5
148 Views
Last Modified: 2013-12-25
I created a simple application in VB6.  However, my users like to size the application window so that they are able to see other applications on the screen.  I did add scroll bars to my forms but have found that the mouse wheel does not work when trying to scroll up or down on the form.  Is there any easy way of getting the mouse wheel to work when the application is running?  I am a newbie when it comes to programming applications, so the easiest way of accomplishing what I am asking for would be greatly appreciated.  I was hoping not to buy any additonal software or files and was hoping to get this done only by code.  
0
Comment
Question by:mhopeman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 67

Accepted Solution

by:
sirbounty earned 250 total points
ID: 18878875
http://support.microsoft.com/?id=837910 should be what you need...
0
 
LVL 22

Assisted Solution

by:danaseaman
danaseaman earned 250 total points
ID: 18879110
This class cScrollBars.cls adds scrollbars to a PictureBox or Form and supports mousewheel.

http://www.vbaccelerator.com/home/vb/Code/Libraries/Subclassing/Adding_Scroll_Bars_To_Forms__PictureBoxes_and_UserControls/article.asp
0
 
LVL 67

Expert Comment

by:sirbounty
ID: 19331552
The microsoft link has always worked for me in VB6... I know I didn't respond to the ping, but thought this was a clear-cut solution?
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question