473,385 Members | 2,069 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,385 software developers and data experts.

PathGradientBrush and Vista Progress Bar

Hi,

I am pretty firm in setting up strange PathGradienBrushes but the progress
bar from windows vista beta simply drives me crazy. Particularily, this
fresh moving white glow...

Hence, has anybody tried to rebuild a vista progress bar with .net or can
give me a clue how the painting can be organized with brushes and paths. I
promise I will publish the code on my website once I got a resonable result
;-).

Many thanks in advance,

Marcus
Nov 29 '05 #1
1 1868
Marcus,

I've just started looking into WPF, but I would think that you could
just paint itself using a drawing primitive (GeometryPath), like a
Rectangle. Then, as the progress increases, you just change the size of the
rectangle.

However, this shouldn't be necessary. You should have access to all of
the children in the control, and be able to drill down and change the brush
which is being used to paint the control. It should be that easy.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Marcus Müller" <ma***********@gmx.de> wrote in message
news:43***********************@newsread2.arcor-online.net...
Hi,

I am pretty firm in setting up strange PathGradienBrushes but the progress
bar from windows vista beta simply drives me crazy. Particularily, this
fresh moving white glow...

Hence, has anybody tried to rebuild a vista progress bar with .net or can
give me a clue how the painting can be organized with brushes and paths. I
promise I will publish the code on my website once I got a resonable
result ;-).

Many thanks in advance,

Marcus

Nov 29 '05 #2

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

Similar topics

3
by: Tony Reynolds | last post by:
Hi I'm fairly new to C# graphics, but I think I've found a bug in PathGradientBrush The following code *should* show a hollowed rectangle. In fact, there is an indentation on the left edge Can...
2
by: bipingm | last post by:
In the following snippet of code, GraphicsPath path = new GraphicsPath() path.AddEllipse(0,0,X,X); using (PathGradientBrush pgb = new PathGradientBrush(path)) { pgb.CenterColor=Color.Red;...
3
by: Padraig | last post by:
Hi all, Just a quick question... when I try to install Python on Windows Vista Beta 2 the installer seems to hang after I select the destination folder, saying that it will "return when it has...
56
by: Squishy | last post by:
I tried installing my VS2005 Pro on Vista Ultimate 32 bit RTM today and got errors stating that VS2005 was not compatible with Vista. Microsoft......please pull your finger out of my ass and tell...
6
by: j2ee.singh | last post by:
Hi, I'm looking to buy a new laptop primarily to learn & practice .NET and C#. My Question is: Is there any requirement for .NET and C# in terms of the following Operating Systems: -...
28
by: jacob navia | last post by:
OK I am running vista. My old machine died with a disk controller failure and I had to buy a new one. The new one was cheaper than the old one (1100 Euros vs 620 Euros) but had twice as much RAM...
4
Ali Rizwan
by: Ali Rizwan | last post by:
>>> Vista Style Progress Bar <<< Here is an ocx with source code by which you can add vista style progress bar to your application GOOD LUCK ALI
1
Ali Rizwan
by: Ali Rizwan | last post by:
>>> Colored Vista Progress Bar <<< It will turned to red after 75% Its very Cool Good Luck ALI
7
by: =?Utf-8?B?bWFydGluMQ==?= | last post by:
All, I try to use progress bar to show how much % done for my app run, can anyone tell how to make code work? Thanks, Martin
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.