| View previous topic :: View next topic |
| Author |
Message |
Michel Corbin Guest
|
Posted: Fri Mar 18, 2005 9:12 am Post subject: XP look and manifest |
|
|
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
|
Posted: Fri Mar 18, 2005 9:37 am Post subject: Re: XP look and manifest |
|
|
"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
|
Posted: Fri Mar 18, 2005 10:09 am Post subject: Re: XP look and manifest |
|
|
Thank you for your quick and precise answer.
Michel Corbin
|
|
| Back to top |
|
 |
Danila Vershinin Guest
|
Posted: Tue Mar 29, 2005 8:38 am Post subject: Manifesting should work right with any BCB |
|
|
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
|
Posted: Wed Mar 30, 2005 9:12 am Post subject: Re: Manifesting should work right with any BCB |
|
|
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
|
Posted: Wed Mar 30, 2005 9:15 pm Post subject: Re: Manifesting should work right with any BCB |
|
|
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
|
Posted: Thu Mar 31, 2005 4:38 pm Post subject: Re: Manifesting should work right with any BCB |
|
|
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 |
|
 |
|