• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2103
  • Last Modified:

How scroll MSFlexGrid with mouse-wheel?

I have written several VB6 applications that have MSFlexGrid controls on them. On some of the user's computers the users can scroll the rows in the flexgrid using the wheel on their mouse. On other user's computers the mouse wheel does not scroll the flexgrid rows.

I was able to get the mouse wheel to work in the VB6 IDE by downloading and registering this fix from Microsoft:

http://support.microsoft.com/?id=837910

But I still can't figure out why the mouse wheel sometimes works and sometimes does not work on the various user's computers when they run the various applications exe's.

We do not use any Intelipoint software of any kind, so going back to version 4.12 is not applicable for us. We use Microsoft's standard driver (built-in XP driver) 5.x

This question was posted earlier but I could not get the answer to work.  See comments at end of question:  http://oldlook.experts-exchange.com:8080/Programming/Programming_Languages/Visual_Basic/Q_21345809.html

Any ideas? Thanks.
0
EYoung
Asked:
EYoung
1 Solution
 
Robberbaron (robr)Commented:
try http://www.andreavb.com/tip060008.html

this gives a different method but also the definitions of '1.  "WM_MOUSEWHEEL"   just need to find the definitions of the other 2 const or structures.


or http://www.adit.co.uk/html/mousewheelsupport.html

http://www.vbaccelerator.com/home/VB/Code/Libraries/Subclassing/Adding_Scroll_Bars_To_Forms__PictureBoxes_and_UserControls/article.asp
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Tackle projects and never again get stuck behind a technical roadblock.
Join Now