473,659 Members | 3,605 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flickering TrackBar

In my application I've got a tabcontrol and two tabs, each one containing a
trackbar control.

The background of the tabpages is set to a specific color (i.e. NOT the
standard control color) When I switch between tabs, all other controls look
ok, except for the trackbar controls. The flicker, i.e. they are painted
frist with the standard control color, then my selected background color.

Has anybody else had this problem, and if so, can anybody tell me how to
avoid that.

I've doublebuffered the entire form, that didn't help, I've tried putting
the trackbars only in a panel that's doublebuffered, that didn't help
either.

If nobody has got the solution to the flicker problem, perhaps you could let
me know if you know of any good 3rd party trackbar controls I can use
instead of the default System.Windows. Forms.TrackBar
Cheers,
Johnny J.
Jun 27 '08 #1
0 1225

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1610
by: Pls Help | last post by:
Hi, I've encountered a weird TrackBar issue, it seems to hang completely when the TrackBar.Maximum is set to certain large values.. what's going on? Have tried this on a few different 2000/XP environments and it seems the behaviour is universal. Btw, before attempting the test below it's a good idea to make sure you haven't any unsaved work.. :)
2
3301
by: juergen | last post by:
how to design a trackbar/slider with diff. look??? For my win-application I need a trackbar/slider, that doesnt look like the control-trackbar offered by vb.net. ; e.g. something like the slider in win-mediaplayer..., but with my own design. tried to change the look, and create something that works like a slider, but didnt find a solution yet
3
5885
by: AtlasApollo | last post by:
Greetings! We are working on a project that has a bunch of TrackBars spec'ed as graphic controls. In other words, they are slick looking and green. In the design phase, these controls look great on the printed page, though when I try to get the TrackBar to look the way the concept was presented, it just doesn't seem to let me tweak it. Can you please tell me what I can do to easily customize the TrackBar
0
1218
by: RuffAroundTheEdges | last post by:
I'm trying to get an aspx page to display a TrackBar. There is no TrackBar in the System.Web.UI.WebControls. Is there a TrackBar like control in System.Web.UI.WebControls? If not, is there a way to use System.Windows.Forms.TrackBar in an aspx page?
3
4029
by: Sakharam Phapale | last post by:
Hi All, How to set the background image for TrackBar control. Since BackgroundImage property doesn't visible in design mode, I tried doing it in run time as follows, myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp") But by doing so don't set BackgroundImage of TrackBar. Any help regarding such will be appreciated.
1
7207
by: Kris | last post by:
Hi. We are developing an application in VS2005 in C#, .NET, that has lots of tabs. On one of these tabs, there is a horizontal trackbar. However, we are unable to set the background color of the trackbar to trasparent. The best would by transparent . Becouse the tabs are gradiently colored. It should work on standard windows XP theme. In that, the color fades from RGB 252-252-254 to 244-243-238. Why VS2005 says that trasparent is...
2
10177
by: mmdst23 | last post by:
I'm working on a video player app, and I want to implement a trackbar that behaves like the one in Media Player, that is the cursor position moves to where the user clicked instead of moving in that direction by a fixed value. Has anyone implemented something like this before? I haven't found anything on codeproject, or searching the .NET newsgroups. This seems like it would be a common control type, am I missing the easy solution? I...
2
18866
by: John | last post by:
Ok, something that I thought would be easy is giving me fits. Using .NET 2.0 and C# I've added a Trackbar to a form. Set some values: trackVolume.Maximum = 100; trackVolume.Minimum = 0; trackVolume.TickFrequence = 25; Then I added an event for the value:
2
2466
by: Johnny Jörgensen | last post by:
In my application I've got a tabcontrol and two tabs, each one containing a trackbar control. The background of the tabpages is set to a specific color (i.e. NOT the standard control color) When I switch between tabs, all other controls look ok, except for the trackbar controls. The flicker, i.e. they are painted frist with the standard control color, then my selected background color. Has anybody else had this problem, and if so, can...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8337
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8531
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8628
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5650
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2754
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1978
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.