XP theme in property page using Delphi 6

Add-in Express™ Support Service
That's what is more important than anything else

XP theme in property page using Delphi 6
 
Marcin Zaleski




Posts: 3
Joined: 2005-03-23
Hello!

My boss bought ADX a few days ago and this is my first question:
how is it possible to use XP themes on Outlook property page?

I've googled some but found only .NET / VB / MS C++ solutions :(

I'm using Delphi 6 Enterprise and ADX VCL 2.2.

Greetings and thank you for your time!
Posted 23 Mar, 2005 05:59:20 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Marcin,

What Outlook version do you mean?


Posted 23 Mar, 2005 13:09:00 Top
Marcin Zaleski




Posts: 3
Joined: 2005-03-23
Outlook version

2003
Posted 24 Mar, 2005 04:14:57 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Marcin,

Sorry for the delay, I had to carry out some research concerning your issue.

I've googled some but found only .NET / VB / MS C++ solutions :(

Yes, you are right, I also see everywhere a lot of information on using XP themes in standalone (EXE) applications.

Now regarding the problem: Outlook 2003 already contains XP manifest and I hoped COM Add-ins would display the Options page correctly. But I was mistaken. Thus the old solution that worked for Outlook 2000/XP works for Outlook 2003 as well. If you create a global manifest file (http://www.add-in-express.com/projects/outlook.exe.manifest) and place it in the same folder as outlook.exe all add-ins will show XP themes. But this might create a problem with other add-ins that were not written by you.

I'm using Delphi 6 Enterprise and ADX VCL 2.2.

I recommend you using version 2.3 Public Preview. It is more stable.

P.S.
This article will probably be useful for you:
http://community.borland.com/article/0,1410,28423,00.html


Posted 24 Mar, 2005 07:22:47 Top
Marcin Zaleski




Posts: 3
Joined: 2005-03-23
Thus the old solution that worked for Outlook 2000/XP works for Outlook 2003 as well.

Yes, you are right! It works fine with all visual components that are Windows controls wrappers (like TMemo, etc). For Delphi controls like TBitBtn I used http://www.lischke-online.de/ThemeManager.php.

Thank you!
Posted 24 Mar, 2005 08:07:23 Top