M
Mark Wilson
I have client extension for Outlook 2007 that displays a transparent icon on
a ProperySheet. I'm currently having issues in determining the color of the
propertysheet page (i.e. Tools/Options) when this addin is running under
Outlook 2007.
In Outlook XP and Outlook 2003 I get the background color of the underlying
page with
COLORREF PageColor;
PageColor = (COLORREF) GetSysColor(COLOR_BTNFACE);
However, when running Vista and Outlook 2007, the color for the
SysTabControl32 control is a different color than the background color of the
top level Options (#32770 Dialog) window. This also seems to happen with
Outlook 2007 and Widows XP if the window appearance is set to "Windows XP
Style".
I need to determine the color so I can set the appropriate transparent color
in my BMP image. If this is not a "System" color, is it hard coded in
Outlook 2007 or is it derived from some value?
a ProperySheet. I'm currently having issues in determining the color of the
propertysheet page (i.e. Tools/Options) when this addin is running under
Outlook 2007.
In Outlook XP and Outlook 2003 I get the background color of the underlying
page with
COLORREF PageColor;
PageColor = (COLORREF) GetSysColor(COLOR_BTNFACE);
However, when running Vista and Outlook 2007, the color for the
SysTabControl32 control is a different color than the background color of the
top level Options (#32770 Dialog) window. This also seems to happen with
Outlook 2007 and Widows XP if the window appearance is set to "Windows XP
Style".
I need to determine the color so I can set the appropriate transparent color
in my BMP image. If this is not a "System" color, is it hard coded in
Outlook 2007 or is it derived from some value?