Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-03

How to turn off Windows XP Theme Support for IDE

4 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Roland Turcan

Hello General mailing list!

Because I want to see the same state in IDE as in result executable. I don't want and I don't need theme support for you application.

I have found manifest.rc where I can comment the line with manifest XML, but I think, that there must be nicer way how to turn it off.

Thanks.

Reply by email

Graeme Geldenhuys
to Roland Turcan
Roland Turcan wrote 5 lines
Because I want to see the same state in IDE as in result executable. I don't want and I don't need theme support for you application. I have found manifest.rc where I can comment the line with manifest XML, but I think, that there must be nicer way how to turn it off.

Be very careful, that wouldn't be native Windows XP behaviour! :-) [sorry, a long standing -hot- topic of mine]

I'm not a Windows user since Win2000, but doesn't it remove the XP theme when you change the OS theme preference in Control Panel - Display properties? Or do you mean removing XP theme per application instead of system wide (which I believe is possible too, but have no idea how)?

Regards,
- Graeme -

_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

Reply by email

Roland Turcan
to Graeme Geldenhuys

Hello Graeme,

Ufff, sometimes the easiest things are being far away.

Of course, the way how to do it was to turn off Visual Themes on shortcut which starts Lazarus.

Thanks for giving an idea.

TRoland;

<<< 26.3.2008 10:13 - Graeme Geldenhuys "" >>>

Roland Turcan wrote 5 lines
> Because I want to see the same state in IDE as in result executable. > I don't want and I don't need theme support for you application. > > I have found manifest.rc where I can comment the line with manifest > XML, but I think, that there must be nicer way how to turn it off.

GG> Be very careful, that wouldn't be native Windows XP behaviour! :-) GG> [sorry, a long standing -hot- topic of mine]

GG> I'm not a Windows user since Win2000, but doesn't it remove the XP GG> theme when you change the OS theme preference in Control Panel - GG> Display properties? Or do you mean removing XP theme per application GG> instead of system wide (which I believe is possible too, but have no GG> idea how)?

GG> Regards,
GG> - Graeme -

GG> _______________________________________________ GG> fpGUI - a cross-platform Free Pascal GUI toolkit GG> http://opensoft.homeip.net/fpgui/
GG> _______________________________________________ GG> Lazarus mailing list
GG>
GG> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Razvan Adrian Bogdan
to Roland Turcan
Roland Turcan wrote 8 lines
Hello Graeme, Ufff, sometimes the easiest things are being far away. Of course, the way how to do it was to turn off Visual Themes on shortcut which starts Lazarus. Thanks for giving an idea.

You can easily add or remove themes for any application by creating/renaming a file <appname>.manifest
That way you have external control over themes, i think delphi had one such file, i remember using it on apps (including D7) that did not contain a manifest file inside their resources, probably using the themes support inside lazarus one can do this from the code.

It is sometimes strange to disable themes for only one app but useful if that app has a custom interface.

Razvan

Reply by email