Announcement

Collapse
No announcement yet.

wish: support for mouse scroll button

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • wish: support for mouse scroll button

    Computers these days come with a mouse that has a circular
    button in the middle that you can roll in order to scroll
    up & down. With this, you can easily scroll without moving
    the mouse itself. This is very convenient. Browsers like
    IE use this, and other editors are catching up. It would be
    nice if PB's IDE supported this.

    In addition to this, when I click on the middle button first,
    (you can press the circle like a button) I can then scroll
    faster, and sideways as well, with IE. Web pages typically
    aren't too long from top to bottom so I'm not too familiar
    with this second feature. But it would seem ideal for an IDE
    with lots of lines of code.

    ------------------
    Daniel Corbier
    UCalc Fast Math Parser
    http://www.ucalc.com
    Daniel Corbier
    uCalc Fast Math Parser
    uCalc Language Builder
    sigpic

  • #2
    Hey, Daniel:

    The PB IDE already supports the scroll wheel (at least on my Microsoft mouse). I believe the support is a function of Windows itself (if you have the correct mouse driver, any Windows app responds to the scroll wheel).

    If I hold click the scroll wheel, I can navigate side to side, as you describe. Perhaps you need an updated mouse driver?

    Frank

    ------------------

    Comment


    • #3
      I'm surprised to hear that Frank,

      I have my copy of PB installed on my Home PC, my Work PC and my Laptop (hope I'm not in breach of license) and none of them respond to any of my wheel mouses-mice, even my intelli-eye mouse. Those OS's are Win2k x 2 and Win98j.
      All other application work fine with them though.

      I'd like this to work for scrolling though code as it has become a habbit and is annoying when it no longer works.




      ------------------

      Paul Dwyer
      Network Engineer
      Aussie in Tokyo
      (Paul282 at VB-World)

      Comment


      • #4
        I also have Win2K with an IntelliEye Mouse. I've IntelliPoint Software v3.x installed and it run fine! Scrolling with the wheel is no problem in the PB IDE. Perhaps, you've removed the IntelliPoint Software from Start up Folder / Registry? (look at your Taskbar for a little white mouse). I've you've done so, place a shortcut to "C:\Program Files\Microsoft Hardware\Mouse\point32.exe" in your Start Up Folder, restart Windows and try to use your wheel

        regards,
        Sven

        ------------------
        Homepage: http://www.Surf2Flower.de
        E-Mail: mailto:[email protected][email protected]</A>
        E-Mail (work): mailto:[email protected][email protected]</A>
        PGP Key: http://www.Surf2Flower.de/pgp_key.asc

        Comment


        • #5
          I have a bunch of Microsoft subdirectories under Program Files.
          But I don't see one on my system named Microsoft Hardware. I
          did a search for point*.exe as well on my HD, but it turned up
          nothing. I'm using Windows 98. Perhaps that's why. Has any
          one gotten the mouse scrolling to work with Windows 98?

          ------------------
          Daniel Corbier
          UCalc Fast Math Parser
          http://www.ucalc.com
          Daniel Corbier
          uCalc Fast Math Parser
          uCalc Language Builder
          sigpic

          Comment


          • #6
            Hmm... I think, installing the IntelliPoint Driver could help. Normally it comes with your Mouse on a CD. Or download it from

            http://download.microsoft.com/downlo.../en-us/eng.exe
            (english language version)

            Download Page for other languages:
            http://www.microsoft.com/mouse/drive...6redirect%3Dno



            ------------------
            Homepage: http://www.Surf2Flower.de
            E-Mail: mailto:[email protected][email protected]</A>
            E-Mail (work): mailto:[email protected][email protected]</A>
            PGP Key: http://www.Surf2Flower.de/pgp_key.asc

            Comment


            • #7
              Curiously, when Microsoft added mouse wheel support to Windows, they
              did it through a new set of messages rather than integrating support
              into the existing messages. So, in order to take advantage of mouse
              wheels, it is necessary to rewrite your programs! It is not terribly
              difficult to do so and I imagine the PowerBASIC IDE will support the
              mouse wheel in a future release.

              In the meantime, there are some utilities around which do what
              Microsoft should have done to begin with, and translate the custom
              mouse wheel messages to more traditional messages. That is, they let
              ordinary programs see the mouse wheel automatically. It sounds like
              the IntelliPoint utility now includes this support. If not, I recall
              seeing at least one inexpensive shareware utility for the purpose. A
              scan of zdnet's file downloads should turn up something.

              ------------------
              Tom Hanlin
              PowerBASIC Staff

              Comment


              • #8
                i added wm_mousewheel into "scroll ddt" code http://www.powerbasic.com/support/pb...ad.php?t=22912

                ------------------
                e-mail: [email protected]

                Comment


                • #9
                  I use Windows 98 SE and a cheap Microsoft mouse with a wheel. The PB/DLL 6.0
                  IDE scrolls vertically using my mouse wheel. Also, listboxes created by the
                  program scroll vertically using my mouse wheel. To my knowledge, I haven't
                  had to do anything special.

                  The wheel of my mouse doesn't click, it just spins. And I can't scroll horizontally.
                  Maybe you guys are speaking only of a more exotic mouse than what I have.


                  ------------------

                  Comment


                  • #10
                    Charles --
                    I don't believe that PB/IDE understands WM_MOUSEWHEEL.
                    It looks that a driver of your mouse sends WM_VSCROLL.
                    Not sure that it sends WM_MOUSEWHEEL also.

                    In Logitech optic mouse (which I use w/o any external driver), a wheel is combined with middle button
                    (two buttons + wheel).
                    If your mouse has a middle button and you want to test my sample, press a middle button and rotate a wheel.

                    ------------------
                    E-MAIL: [email protected]

                    Comment


                    • #11
                      Hey Sven,

                      It worked !!!!!

                      I can use the wheel mouse in PB now that I installed that software driver from MS


                      Thanks a million

                      ------------------

                      Paul Dwyer
                      Network Engineer
                      Aussie in Tokyo
                      (Paul282 at VB-World)

                      Comment

                      Working...
                      X