🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5134

Theming

#5134
From: nicolasr
Date: Sat, 24 Sep 2005 21:37
23 lines
1582 bytes
Hi,

I try to find out whether there is a reliable way to detect
if an application is themed. Especially I need to know that
from within a custom VCL component.

From all the newsgroup posts I read I could only infer two
things:
IsAppThemed() indicates whether theming is enabled system
wide. IsThemeActive() tells whether theming is disabled for
a particular application via the program compatibility dialog.

These functions do, however, not tell me whether there is a
manifest! Since the manifest could be embedded in the
applications resources it's not enough to simply check for
the existence of a manifest file.

So, how could I tell whether the target application my component
(DLL) is running in is actually themed?

thanks for any ideas!

Nick 
Technical Details
Message-ID: <4335c6d1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9f36dbae74e2f48b,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "nicolasr" <nicolasrNOSPAMATSIGNgmx.net>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Theming
Date: Sat, 24 Sep 2005 23:37:57 +0200
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 84.174.183.4
Message-ID: <4335c6d1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1127597777 84.174.183.4 (24 Sep 2005 14:36:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!solnet.ch!solnet.ch!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail