Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2005 Oct : XP manifest

www.cryer.info
Managed Newsgroup Archive

XP manifest

Subject:XP manifest
Posted by:"Stephen M" (micros..@acn.gr)
Date:Tue, 25 Oct 2005 19:47:08

Hi,

I use Delphi 7 and I want to give the user of my application the option to
have XP style enabled or not. I use unit XPMan (XPManifest component) but
how can I tell the compiler to compile the unit based on a value read from
the registry?

I used code ...
{$IF DECLARED(XPStyleEnabled)} uses XPMan, {$IFEND}
where XPStyleEnabled is a boolean function but it does NOT work properly.
Any suggestions?

Thank's

Replies:

www.cryer.info
Managed Newsgroup Archive