471,610 Members | 1,351 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,610 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 1813
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 discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Tony Reynolds | last post: by
3 posts views Thread by Padraig | last post: by
28 posts views Thread by jacob navia | last post: by
7 posts views Thread by =?Utf-8?B?bWFydGluMQ==?= | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by
reply views Thread by MichaelMortimer | last post: by

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.