FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour WinXP look and res files
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
WinXP look and res files
Posted: Fri Feb 15, 2008 03: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"

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
WinXP look and res files
Posted: 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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
WinXP look and res files
Posted: Sat Feb 16, 2008 08: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

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
WinXP look and res files
Posted: Sat Feb 16, 2008 09: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
WinXP look and res files
Posted: 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

Continue the discussion