473,396 Members | 1,924 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,396 software developers and data experts.

Changing the progressbar style

In other programming languages I've been able to easily change the style
of a progress bar between smooth and blocked. I find that is either
really hidden or impossible in .NET. Am I missing something?

I'm shocked that .NET doesn't have a style property for the progressbar
control!

--
- Mitchell Vincent
- kBilling - An easy and affordable billing solution
- http://www.k-billing.com
Nov 21 '05 #1
3 4735
"Mitchell Vincent" <mi**************@gmail.com> schrieb:
In other programming languages I've been able to easily change the style
of a progress bar between smooth and blocked. I find that is either really
hidden or impossible in .NET. Am I missing something?
You can reimplement the ProgressBar control and specify 'PBS_SMOOTH'
('ProgressBar' is 'sealed', so you cannot extend it).

- or -

Microsoft's "recommendation":

HOW TO: Create a Smooth ProgressBar in Visual Basic .NET
<URL:http://support.microsoft.com/?scid=kb;en-us;323088>
I'm shocked that .NET doesn't have a style property for the progressbar
control!


I agree.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
i'll shoot you source code for this if you want. it's not hard to create at
all.
Nov 21 '05 #3
Mal
Here is a link to a code sample for a sweet progressbar, that fills
smoothly with gradient colors:
http://www.trackslinger.com/codelibrary/

Enjoy...

Nov 21 '05 #4

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

Similar topics

8
by: needin4mation | last post by:
Please consider: foreach (ListViewItem item in listViewFiles.Items) { // Display the ProgressBar control. pBar1.Visible = true; // Set Minimum to 1 to represent the first file being copied....
2
by: Randall Arnold | last post by:
I've written an app in VB.NET 2005 Beta that monitors temperature of several devices. I am using the ProgressBar for visual indication of temperature; all readings in expected range cause the bar...
9
by: iwdu15 | last post by:
hi, is there any way (vb.net 2003 or 2005) to change the progress bar color from blue to any other system color? im trying to change between 3 colors depending on a variable in my app. unfortunatly...
6
by: randy1200 | last post by:
I've been sucessful in using the Progress bar when I can calculate the percent complete. Now I want to use it when I have no way to calculate the amount of time to completion. Basically, I want to...
4
by: Sin Jeong-hun | last post by:
Some system utilities such as Windows Backup on Windows Vista show RED progress bars when something went wrong. Is this possible in C# applications? As far as I know, the ForeColor property means...
2
by: =?Utf-8?B?QWFyb24=?= | last post by:
Since some controls such as the DataGridView take a long time to update themselves when performing certain tasks, I have added a StatusStrip with a ProgressBar on it. While I am updating the...
1
by: Jassim Rahma | last post by:
how can I change the progressbar color and make it simple just like the old style progressbar in windows 98
0
by: prathamesh.s.kulkarni | last post by:
I have a MDI Application. It has a simple menu. On clicking menu items, child forms open. Since, the loading of the form was taking quite sometime, I have separated the loading of data by using a...
6
by: JB | last post by:
Hi All, I have a Windows Form application that shows a "please wait" form while I query a database for various information. I display my form using Show, then run my DB query, then Close the...
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:
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
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
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,...
0
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,...
0
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...

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.