Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetSysColor
Message
From
07/11/2006 14:27:17
 
 
To
07/11/2006 11:57:46
Emerson Reed
Folhamatic Tecnologia Em Sistemas
Americana - São Paulo, Brazil
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01167615
Message ID:
01167789
Views:
13
>Hi Anton.
>I'm giving the first step after take a look at XP Visual Styles in MSDN (that you suggested) and GDIPlusX sample VFP Theme Explorer, but I can't find in which object Outlook 2003 shortcut bar buttons are based (to inherit the colors)...
>Could you help me?

After spending 3 hours playing with StyleBuilder I found that Outlook 2003 bar doesn't actually based on Theme API. So, I digged in wrong direction and you was right - it's based on system colors available via GetSysColor().

I found that Outlook bar's button is always vertical gradient from COLOR_3DHILIGHT to COLOR_BTNFACE. As for selected and hilighted buttons - it looks like it uses flat fill with some mixtures of system colors COLOR_BTNFACE, COLOR_3DHILIGHT, COLOR_HIGHLIGHT and maybe others in various proportions. I guess this is also right for Office menus - while selected item border color is COLOR_HIGHLIGHT, item background color is actually mixture of COLOR_HIGHLIGHT and COLOR_MENU.
/A new technology turns into completely outdated stuff before you have a time to read "Getting Started..." section.
/If there are some "system programmers" then others are unsystematic.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform