Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

App theme changes according to windows theme

I am developing an application using Delphi 2007 (IDE CodeGear RAD Studio). This app is made to be used in Windows 7.

While developing an app I was using a Classic (Win98) theme, and my app has the same theme. Even beeing build on my computer and lunched on other computer with theme 'Aero', it looked as 'win98'.

After a while I changed my Windows theme to Aero, and my app started looking the same (Aero) way.

Later, when I swiched Windows theme back to Classic, my App started to look classic way. But on computers with Aero App started to look like Aero.

So here is a question:

  1. Is there any possible chance to prevent my app theme from changing (set theme to classic not depending on windows theme)?
  2. Why did the theme start changing?
like image 926
Olexandr Strelchenko Avatar asked Feb 18 '26 07:02

Olexandr Strelchenko


1 Answers

Your app includes the comctl32 v6 manifest, because the Enable runtime themes option is selected. Disable that option and your app will not be themed.

like image 56
David Heffernan Avatar answered Feb 21 '26 09:02

David Heffernan



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!