Solved

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

Posted on 2007-04-09
5
143 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
  • 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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

777 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