Solved

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

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying 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

Suggested Solutions

Title # Comments Views Activity
vb.net help 4 34
Import Data from Multiple Text Files in Excel 12 58
get column names from table in vb.net 8 49
Help with exporting to excel 4 35
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…

808 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