Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain Progressbar Default color
Message
From
19/09/2005 16:51:06
 
 
To
19/09/2005 16:34:19
Luis Navas
Independent Consultant
Auckland, New Zealand
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01050910
Message ID:
01051039
Views:
8
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform