Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtain Progressbar Default color
Message
From
19/09/2005 16:34:19
Luis Navas
Independent Consultant
Auckland, New Zealand
 
 
To
19/09/2005 16:19:23
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:
01051024
Views:
10
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
I never forget a face, but in your case I will make an exception :-)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform