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#
  4. C# Control for volume

C# Control for volume

Scheduled Pinned Locked Moved C#
csharpquestion
8 Posts 3 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.
  • H Offline
    H Offline
    henur
    wrote on last edited by
    #1

    Hi Does anyone have a tip about a nice C#-control for volumesettings ? The common trackbar will do, but i need one where i can set Backcolor to Transparent, and the standard trackbar does not accept that. Any tips ? With Kind Regards Heino

    G T 2 Replies Last reply
    0
    • H henur

      Hi Does anyone have a tip about a nice C#-control for volumesettings ? The common trackbar will do, but i need one where i can set Backcolor to Transparent, and the standard trackbar does not accept that. Any tips ? With Kind Regards Heino

      G Offline
      G Offline
      Giorgi Dalakishvili
      wrote on last edited by
      #2

      Either you search for custom control or you write your own :)

      my articles

      1 Reply Last reply
      0
      • H henur

        Hi Does anyone have a tip about a nice C#-control for volumesettings ? The common trackbar will do, but i need one where i can set Backcolor to Transparent, and the standard trackbar does not accept that. Any tips ? With Kind Regards Heino

        T Offline
        T Offline
        Thomas Stockwell
        wrote on last edited by
        #3

        Could you create a user control that inherits the trackbar and use SetStyle to allow a transparent backdrop?

        Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

        H 1 Reply Last reply
        0
        • T Thomas Stockwell

          Could you create a user control that inherits the trackbar and use SetStyle to allow a transparent backdrop?

          Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

          H Offline
          H Offline
          henur
          wrote on last edited by
          #4

          Ok , that could be an idea. I do not know how to use the SetStyle, but i will check that out. Thanks. Heino

          T 1 Reply Last reply
          0
          • H henur

            Ok , that could be an idea. I do not know how to use the SetStyle, but i will check that out. Thanks. Heino

            T Offline
            T Offline
            Thomas Stockwell
            wrote on last edited by
            #5

            SetStyles(System.Windows.Forms.ControlStyles cs, boolean b) To try to have a transparent backcolor, you would use setstyle in the initialization of the control. SetStyle(ControlStyles.SupportsTransparentBackColor,true); Their are also a few other painting routine properties that you can set to true, the properties assist in reducing flickering from custom paint routines.

            Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

            H 1 Reply Last reply
            0
            • T Thomas Stockwell

              SetStyles(System.Windows.Forms.ControlStyles cs, boolean b) To try to have a transparent backcolor, you would use setstyle in the initialization of the control. SetStyle(ControlStyles.SupportsTransparentBackColor,true); Their are also a few other painting routine properties that you can set to true, the properties assist in reducing flickering from custom paint routines.

              Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

              H Offline
              H Offline
              henur
              wrote on last edited by
              #6

              Ok..now i have tried , but.... As i can see....i can set my usercontrol to transparancy but i am not allowed to set the Trackbar-control backcolor to Color.Transparent anyway. Heino

              T 1 Reply Last reply
              0
              • H henur

                Ok..now i have tried , but.... As i can see....i can set my usercontrol to transparancy but i am not allowed to set the Trackbar-control backcolor to Color.Transparent anyway. Heino

                T Offline
                T Offline
                Thomas Stockwell
                wrote on last edited by
                #7

                Are you using .NET 1.1 or .NET 2.0?

                Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

                H 1 Reply Last reply
                0
                • T Thomas Stockwell

                  Are you using .NET 1.1 or .NET 2.0?

                  Regards, Thomas Stockwell Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Visit my homepage Oracle Studios[^]

                  H Offline
                  H Offline
                  henur
                  wrote on last edited by
                  #8

                  I using NET 2.o and VS2005. Maybe it's lack of competence from my side, but i cannot figure out how to set the background to transparent of the Trackbar. The only way i see is to redraw my own style trackbar. Heino

                  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