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