C# Control for volume
-
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
Either you search for custom control or you write your own :)
-
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
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[^]
-
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[^]
-
Ok , that could be an idea. I do not know how to use the SetStyle, but i will check that out. Thanks. Heino
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[^]
-
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[^]
-
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
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[^]
-
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[^]