Page 1 of 1

WinXP look and res files

Posted: Fri Feb 15, 2008 3:19 pm
by Otto
How to add WindowsXP.Manifest to res files.
As I use VSX now I only have res (compiled resource files).

Thanks in advance
Otto


To provide the WinXP look to your application
simply add this line to your resources RC file:

1 24 "WindowsXP.Manifest"

Posted: Fri Feb 15, 2008 10:45 pm
by James Bott
Otto,

Another way is to just rename WindowsXP.Manifest to myapp.exe.manifest (where myapp.exe is the actual name of your exe) and include it in the same directory as the exe. It must be included in your installation too.

James

Posted: Sat Feb 16, 2008 8:08 am
by Otto
Thank you James. Never thought that could be so easy.

BTW,
I am on a VISTA PC. If I enable “VISTA STYLE” to get IsThemeActive=.t.
then all the Windows zoom in and out.
Do you know if the zooming can be turned off?

Thanks in advance
Otto

Posted: Sat Feb 16, 2008 9:30 am
by James Bott
Otto,

>Do you know if the zooming can be turned off?

I don't have Vista here. Under XP these kinds of things are available if you right-click on the desktop and select Properties.

James

Posted: Sat Feb 16, 2008 10:34 am
by Richard Chidiak
Otto

The zoom on vista is related to "AERO" theme, just change theme and no more zooming effect

HTH

Richard