WinXP look and res files

WinXP look and res files

Postby Otto » Fri Feb 15, 2008 3:19 pm

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"
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby James Bott » Fri Feb 15, 2008 10:45 pm

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Otto » Sat Feb 16, 2008 8:08 am

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
User avatar
Otto
 
Posts: 6327
Joined: Fri Oct 07, 2005 7:07 pm

Postby James Bott » Sat Feb 16, 2008 9:30 am

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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Richard Chidiak » Sat Feb 16, 2008 10:34 am

Otto

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

HTH

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 81 guests