DELPHI - Disable Runtime Themes

已取消 已发布的 Feb 2, 2011 货到付款
已取消 货到付款

I need a way to permanently disable runtime themes for my application in Delphi.

I tried using SetWindowTheme from [url removed, login to view] unit but this still renders visual styles for some components like TBitBtn, TMainMenu etc.

If you right click a exe from Windows and click properties, compatibility tab and tick disable visual themes and run the program you will see what I want (I also included a screenshot to show this)

The program should NOT paint any themes, even if:

* "Enable runtime themes" is selected in Project Options

* [url removed, login to view] or XPManifest component is added to form

* Manifest file is added to the exe from Windows to enable XP themes

disabling the titlebar theme is optional.

using the compatibility trick I mentioned does not count as deliverables.

it should also be diffcult or impossible for anyone to get the program to recognise visual styles.

I dont want all programs i make in Delphi to be like this, just the ones i want to.

I dont care too much for the Windows visual styles, I want a simple classic look and feel to the program, this provides this and is also easy on the eyes.

So I need code to force the program not to use visual styles, or some other technique.

## Deliverables

I am using Delphi 2009

Delphi 工程 微软 PHP 项目管理 软件构架 软件测试 视窗桌面

项目ID: #3073609

关于项目

远程项目 活跃的Feb 2, 2011