Solved

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

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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now