Hmm.. this is a bit confusing me. I tried changing the XP themes (XP SP2), it gives me Dark Blue. What kind of progressbar are you using?
>Thanks but this gives me a blue, I already tried with this function. In Windows XP by default is a green color, but if you change the theme, it also changes the the progressbar color.
>
>Luis
>
>
>>>HI, is there anyway to obtain the default color for a progressbar. In windows XP default is green, but if I change the themes it also changes the backcolor of progressbar, I want to be abble to detect this.
>>>
>>>Thanks
>>>
>>>Luis
>>
>>
>>Hi Luis,
>>
>>I'm not exactly sure about this, but I think the progressbar color is the same color with menu highlight. So try this:
>>
>>Declare Long GetSysColor in User32 Integer nColorIndex
>>?GetSysColor( 13 )
>>
>>
>>HTH
Herman