How do I know when app is not XP styled?
-
I have recently spent some time getting some of my apps looking right on XP styles, by adding a manifest resource, and also modifying some controls that are custom-drawn. However, if I use my xp-style-enabled controls in apps which do not have a manifest, and therefore draw using the old style, I find that my controls still draw with the current XP style. I have used
IsAppThemed()
as a way of determining how to draw my controls, but I have found that this returns TRUE even though the app is not XP-style-enabled, making the control look odd! I have tried usingIsThemeActive
but this also always returns TRUE. Does anyone know how I can find out if the app is XP-styled (ie the other controls are using the XP-styles)?
"The way of a fool seems right to him, but a wise man listens to advice" - Proverbs 12:15 (NIV)