From: Emerson Reed
Americana - SP
Visual FoxPro 9
Tuesday, November 07, 2006 1:24:13 PM
This message was rated by:
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?
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
Posted by Emerson Reed @ 11/7/2006 1:24:13 PM