BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

XP look and manifest

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Michel Corbin
Guest





PostPosted: Fri Mar 18, 2005 9:12 am    Post subject: XP look and manifest Reply with quote



Hi everybody!
I use BCB 3;
I've written an application with several forms;
I use a manifest to give my application an XP look;
one form becomes very ugly when it uses the manifest (on this form
I put a TListBox with a lbOwnerDrawFixed style).

Here is my question :
Is it possible that this form ignores the manifest and so keeps its
original look ?

Thanks in advance.

Back to top
Remy Lebeau (TeamB)
Guest





PostPosted: Fri Mar 18, 2005 9:37 am    Post subject: Re: XP look and manifest Reply with quote




"Michel Corbin" <"Michel Corbin"> wrote


Quote:
Is it possible that this form ignores the manifest and so
keeps its original look ?

No. BCB3 simply had no support for XP at all. In fact, none of the BCB
versions do. Owner-drawn controls must use XP's new uxTheme API when
drawing themselves while a theme is applied. BCB's version of the VCL does
not support the uxTheme API at all. So you would have to write your own
custom drawing code to make use of the API. Or find third-party components
that already do so. Normally, I would have directed you to the XP Theme
Manager component at http://www.delphi-gems.com, except that it does not
support BCB3.


Gambit



Back to top
Michel Corbin
Guest





PostPosted: Fri Mar 18, 2005 10:09 am    Post subject: Re: XP look and manifest Reply with quote




Thank you for your quick and precise answer.

Michel Corbin

Back to top
Danila Vershinin
Guest





PostPosted: Tue Mar 29, 2005 8:38 am    Post subject: Manifesting should work right with any BCB Reply with quote

The problem could be solved quite easily by... MANIFESTING bcb.exe
executable besides manifesting your project's executable. That might work on
BCB 3. But be careful with this thing cuz what might happen (and abviously
will) is that all images contained in your imagelists will be destroyed (oh
well, no big deal..LOL)


Back to top
Michel Corbin
Guest





PostPosted: Wed Mar 30, 2005 9:12 am    Post subject: Re: Manifesting should work right with any BCB Reply with quote

Thank you for your suggestion.
My Problem is almost solved, the only unsolved problem is that
with a manifest, something like
CheckBox1->Font->Color=clBlue ;
doesn't work, the Caption remains black
(CheckBox1 is a TCheckBox) but
CheckBox1->Font->Style=TFontStyles()< works perfectly.
So the user of my application can distinguish the two kinds of
TCheckBox available, their Captions beeing standard or bold instead of
beeing black or blue.

Do you know what should I read to understand how manifests work ?

Danila Vershinin wrote:
Quote:
The problem could be solved quite easily by... MANIFESTING bcb.exe
executable besides manifesting your project's executable. That might work on
BCB 3. But be careful with this thing cuz what might happen (and abviously
will) is that all images contained in your imagelists will be destroyed (oh
well, no big deal..LOL)




Back to top
Danila Vershinin
Guest





PostPosted: Wed Mar 30, 2005 9:15 pm    Post subject: Re: Manifesting should work right with any BCB Reply with quote

Thank you on that great link and that great site of yours :)

"Danila Vershinin" <danprep (AT) yahoo (DOT) com> wrote

Quote:
The problem could be solved quite easily by... MANIFESTING bcb.exe
executable besides manifesting your project's executable. That might work
on BCB 3. But be careful with this thing cuz what might happen (and
abviously will) is that all images contained in your imagelists will be
destroyed (oh well, no big deal..LOL)




Back to top
Danila Vershinin
Guest





PostPosted: Thu Mar 31, 2005 4:38 pm    Post subject: Re: Manifesting should work right with any BCB Reply with quote

Sorry for the mess I made in newsgroup (last post of mine =)

I have some articles saved on my computer about using manifest files and
about compatiability issues with it. Email me for copy


Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.