Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetSysColor
Message
From
07/11/2006 06:39:34
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
GetSysColor
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01167615
Message ID:
01167615
Views:
53
I'm using GetSysColor API to get some Windows colors to use in Outlook2003Bar control and tested all possible parameters, but I can't find some of them.
I've looked in Outlook 2003 and when I change the Windows Theme or one of the colors, Outlook 2003 colors changes following new colors. If GetSysColor doesn't have all colors, where Outlook 2003 get these colors?
For example:
How can I get the initial and ending gradient colors when a button has the focus?

Now, I'm using GetSysColor(2) to know what theme is in use and creating a bitmap with "predefined" colors for Silver and Olive themes. For any other colors, I'm creating a bitmap based on Blue theme. What I want to do is make the control follow the Windows colors like Outlook 2003 does.

Someone could help me?
Emerson Santon Reed
"One Developer CAN Make a Difference. A community CAN make a future." - Craig Boyd
Next
Reply
Map
View

Click here to load this message in the networking platform