How scroll MSFlexGrid with mouse-wheel?

Posted on 2005-05-04
Last Modified: 2008-01-09
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:

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:

Any ideas? Thanks.
Question by:EYoung
    1 Comment
    LVL 32

    Accepted Solution


    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.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Introduction While answering a recent question ( in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
    This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
    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…
    This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

    737 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

    20 Experts available now in Live!

    Get 1:1 Help Now