Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2007 Aug : XP Theme Tab Background Color
| Subject: | XP Theme Tab Background Color |
| Posted by: | "Erik Berry" (..@techie.zzzcom) |
| Date: | Wed, 1 Aug 2007 18:31:05 |
Is there any way to get the current XP theme's tab background color. By
default this color is white under XP, rather than the old default of
clBtnFace. I've got a custom component where I need to match the color at
runtime, but for various reasons, I can't use DrawParentBackground or
DrawThemeParentBackground, like the VCL does. I need the value as a TColor
to set a BackgroundColor property of a component that can't paint
transparent. Or is it not possible to get a single color, since it might be
a gradient, etc?
Erik