Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Looking for a "Thumb Wheel" control [modified]

Looking for a "Thumb Wheel" control [modified]

Scheduled Pinned Locked Moved C / C++ / MFC
comquestion
6 Posts 6 Posters 0 Views 1 Watching
  • 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.
  • B Offline
    B Offline
    bscaer
    wrote on last edited by
    #1

    Does anyone know where I can find a "Thumb Wheel" control? It looks like a dial turned on its side with ridges on its edge (like a quarter) and it would be used like a slider to adjust a value. A picture of a GUI that shows what I am looking for can be found here: http://www.steptools.com/products/stviewer/images/st-viewer.gif[^] Beth -- modified at 10:31 Thursday 6th September, 2007

    L H W S 4 Replies Last reply
    0
    • B bscaer

      Does anyone know where I can find a "Thumb Wheel" control? It looks like a dial turned on its side with ridges on its edge (like a quarter) and it would be used like a slider to adjust a value. A picture of a GUI that shows what I am looking for can be found here: http://www.steptools.com/products/stviewer/images/st-viewer.gif[^] Beth -- modified at 10:31 Thursday 6th September, 2007

      L Offline
      L Offline
      led mike
      wrote on last edited by
      #2

      bscaer wrote:

      Does anyone know where I can find

      You mean besides the internet?

      C 1 Reply Last reply
      0
      • L led mike

        bscaer wrote:

        Does anyone know where I can find

        You mean besides the internet?

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        In the documentation maybe ? :-D


        Cédric Moonen Software developer
        Charting control [v1.2]

        1 Reply Last reply
        0
        • B bscaer

          Does anyone know where I can find a "Thumb Wheel" control? It looks like a dial turned on its side with ridges on its edge (like a quarter) and it would be used like a slider to adjust a value. A picture of a GUI that shows what I am looking for can be found here: http://www.steptools.com/products/stviewer/images/st-viewer.gif[^] Beth -- modified at 10:31 Thursday 6th September, 2007

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          Did you see Button section on the codeproject?

          1 Reply Last reply
          0
          • B bscaer

            Does anyone know where I can find a "Thumb Wheel" control? It looks like a dial turned on its side with ridges on its edge (like a quarter) and it would be used like a slider to adjust a value. A picture of a GUI that shows what I am looking for can be found here: http://www.steptools.com/products/stviewer/images/st-viewer.gif[^] Beth -- modified at 10:31 Thursday 6th September, 2007

            W Offline
            W Offline
            Waldermort
            wrote on last edited by
            #5

            I'm sure you could derive from the scrollbar class to create your own.

            1 Reply Last reply
            0
            • B bscaer

              Does anyone know where I can find a "Thumb Wheel" control? It looks like a dial turned on its side with ridges on its edge (like a quarter) and it would be used like a slider to adjust a value. A picture of a GUI that shows what I am looking for can be found here: http://www.steptools.com/products/stviewer/images/st-viewer.gif[^] Beth -- modified at 10:31 Thursday 6th September, 2007

              S Offline
              S Offline
              Sreedhar DV
              wrote on last edited by
              #6

              Create a class which derives from the CScrollBar class. The Thumb Wheel control functionality is similar to the scroll bar functionality. Instead of changing the view position with GetScrollPos() do your task. For example as in the figure shows rotate the image horizantally or vertically. And you can set range of angle (i.e 0-360) with the help of SetScrollRange(). On the OnPaint of your class draw the Thumb Wheel control as per your wish. All the best....:) Let me know your success.

              Sreedhar DV

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups