sketchucation logo sketchucation
    • Login
    πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

    Can you use Scrollwheel with tools?

    Scheduled Pinned Locked Moved Developers' Forum
    10 Posts 4 Posters 356 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • thomthomT Offline
      thomthom
      last edited by

      Is it possible to detect the user using the scrollwheel?

      Thomas Thomassen β€” SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • TIGT Offline
        TIG Moderator
        last edited by

        onMButtonDoubleClick

        onMButtonDown

        onMButtonUp

        only it seems... 😞
        http://groups.google.com/group/sketchupruby/browse_thread/thread/ce1832af8ce880b4 has a PC only, socket based way... but it seems complex...

        TIG

        1 Reply Last reply Reply Quote 0
        • tbdT Offline
          tbd
          last edited by

          @tig said:

          PC only, socket based way... but it seems complex...

          socket ? I didnt see any socket reference there. only a Winhook on mouse events and a ruby object that calls the onMouseWheel method. pitty that is only Windows.

          thomthom: what do you want to implement with mouse wheel ?

          SketchUp Ruby Consultant | Podium 1.x developer
          http://plugins.ro

          1 Reply Last reply Reply Quote 0
          • TIGT Offline
            TIG Moderator
            last edited by

            @unknownuser said:

            @tig said:

            PC only, socket based way... but it seems complex...

            socket ? I didnt see any socket reference there. only a Winhook on mouse events and a ruby object that calls the onMouseWheel method. pitty that is only Windows.

            thomthom: what do you want to implement with mouse wheel ?

            Sorry I mistake the mouse .so for socket rather than shared object...

            TIG

            1 Reply Last reply Reply Quote 0
            • thomthomT Offline
              thomthom
              last edited by

              @unknownuser said:

              thomthom: what do you want to implement with mouse wheel ?

              What I want to do is create a new paint tool, with more features than the current. I thought I could add a little scrolling palette of materials, an area of the screen where when you used the scroll wheel, it would not zoom - but rather scroll through the on screen palette.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • tbdT Offline
                tbd
                last edited by

                how about a webdialog popup on CTRL that disappear on mouseout (idea, not tested if it is feasible) ?

                SketchUp Ruby Consultant | Podium 1.x developer
                http://plugins.ro

                1 Reply Last reply Reply Quote 0
                • thomthomT Offline
                  thomthom
                  last edited by

                  @unknownuser said:

                  how about a webdialog popup on CTRL that disappear on mouseout (idea, not tested if it is feasible) ?

                  I can do without the scrolling. It would just be a very cool little extra.
                  Planning to add the tools On Screen - making a painting palette when using the painting tool. Inspired by Fredo's tools.

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • Chris FullmerC Offline
                    Chris Fullmer
                    last edited by

                    Could you use a webdialog to capture the scroll wheel and send it back to SU? I guess hide or move the web dialog off the screen so the user doesn't see it?

                    Chris

                    Lately you've been tan, suspicious for the winter.
                    All my Plugins I've written

                    1 Reply Last reply Reply Quote 0
                    • thomthomT Offline
                      thomthom
                      last edited by

                      @chris fullmer said:

                      Could you use a webdialog to capture the scroll wheel and send it back to SU? I guess hide or move the web dialog off the screen so the user doesn't see it?

                      Chris

                      Maybe - but I need to interact with the viewport, clicking etc -which would steal the focus away..

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • Chris FullmerC Offline
                        Chris Fullmer
                        last edited by

                        Oh gotcha. The Prince IO game works because the user never needs to interact with model directly. All their actions are done through the web dialog and as soon as they click into the model, it must kill their game control then I guess?

                        Chris

                        Lately you've been tan, suspicious for the winter.
                        All my Plugins I've written

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post
                        Buy SketchPlus
                        Buy SUbD
                        Buy WrapR
                        Buy eBook
                        Buy Modelur
                        Buy Vertex Tools
                        Buy SketchCuisine
                        Buy FormFonts

                        Advertisement