Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 Nov : Does XP theming override colormaps?

www.cryer.info
Managed Newsgroup Archive

Does XP theming override colormaps?

Subject:Does XP theming override colormaps?
Posted by:"Uwe" (forspammers@no.ne)
Date:Thu, 17 Nov 2005 17:28:21 -0800

Hi

I'm currently fighting a weird "feature" of Windows' themes and was
wondering whether its behaviour is by default or not.

My application uses a ActionMainMenuBar which can be connected to a
TwilightColorMap. Everything works as expected as long as I do not change
the Windows theme. If I switch to the Windows Millennium theme for example,
it overrides the Selected Color property of the TwilightColorMap and turns
it into clBlack. Which is not good if the text color is black... :-)

Is this a known bug of the ActionMainMenuBar or is it a OS feature?

TIA
Uwe

Glossary

Replies:

www.cryer.info
Managed Newsgroup Archive