views:

342

answers:

2

hi friends. i want to create a color progress bar in delphi language within use by XPMan component (it is : with win xp style).

what do i do?

what code using?

+6  A: 

With themes enabled you cannot change the color of the progressbar. With themes disabled you can change the color by sending a PBM_SETBARCOLOR message to the control.

Since you want a to change the color of your themed progressbar, you have to do all the drawing yourself or use a 3rd party progressbar that mimics a themed progressbar where you can change the color.

The_Fox
FWIW, TMS Controls have lots of nice progressbars, if you want a drop-in 3rd-party solution.
Chris Thornton
+1  A: 

Same opinion as The_Fox. If you want a free 3rd party, here is one : http://rmklever.com/?p=138

loursonwinny