Solved

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

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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

749 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