473,382 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Trackbar Flickering problem

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
2 2446
Jan
Problem is, if not Standard BackColor of the .net TrackBar Control is SystemColor.Control, the Control Piants itself completely, without asking, You will either have to Override the OnPaint Method of your Form, to particially place your own Graphics, or simply recreate your own TrackBar completely by yourself, the Control is simple Programming Style, which means work thinking and effort is required by the Programmer to make it even more expedient or look fancy.., Nevertheless the Visual .Net Suite is super well engineered in common if you look at the Transperiency and Access to Basic Classes that gives the User the Oportunity to realise their dreams of Computing in beautifull Windows Applikations.. Nobody is perfect, Work is work and to be honored..
Oct 12 '08 #2
Jan
Problem is, if not Standard BackColor of the .net TrackBar Control is SystemColor.Control, the Control Piants itself completely, without asking, You will either have to Override the OnPaint Method of your Form, to particially place your own Graphics, or simply recreate your own TrackBar completely by yourself, the Control is simple Programming Style, which means work thinking and effort is required by the Programmer to make it even more expedient or look fancy.., Nevertheless the Visual .Net Suite is super well engineered in common if you look at the Transperiency and Access to Basic Classes that gives the User the Oportunity to realise their dreams of Computing in beautifull Windows Applikations..
Oct 12 '08 #3

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

Similar topics

1
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...
2
by: John Lee | last post by:
Hi, I have a windows application that uses the listview to display about 50 items in detailed view - 4 columns. The first column is static and other columns will be updated in 100-1000ms - it...
2
by: John Lee | last post by:
Thanks Jay for your response. I tried your code and it still flickering a lot. To demonstrate it, you can grab a listview, create 3 columns - name, value, timestamp, in form_load event to add 50...
4
by: Bernie Yaeger | last post by:
I'd like to allow the user to zoom a window using a trackbar, say from 80% to 120% the size of the original window. I'm trying to do this with the following code, but it fails pretty miserably:...
1
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...
6
by: Mark Thompson | last post by:
I have a problem with my Visual Basic .NET 2003 application which I have so far been unable to resolve. I am trying to get an OpenGL control that I have created working properly as a control on...
2
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...
2
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;...
0
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.