Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   XP Styles with custom form (http://www.outlookbanter.com/add-ins-outlook/26245-xp-styles-custom-form.html)

Tom at GSD September 6th 06 04:58 PM

XP Styles with custom form
 
Hi,

I have designed a C++ COM addin with a custom contact form that was derived
from the standard contact form. Essentially I am adding a couple command
buttons to the form. I publish the form and open it up only to notice that
the XP Styles are non existent. I have implemented XP Styles within the DLL
but still the XP Styles are not to be seen. I have seen a couple articles on
the NET that state XP Styles are not available for custom forms. Is this true?



Sue Mosher [MVP-Outlook] September 6th 06 05:16 PM

XP Styles with custom form
 
Yes, that's true. You will need to wait for Outlook 2007 and its new form regions feature. Or, consider not customizing the form at all and add your buttons instead to Inspector.CommandBars.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Tom at GSD" wrote in message ...
Hi,

I have designed a C++ COM addin with a custom contact form that was derived
from the standard contact form. Essentially I am adding a couple command
buttons to the form. I publish the form and open it up only to notice that
the XP Styles are non existent. I have implemented XP Styles within the DLL
but still the XP Styles are not to be seen. I have seen a couple articles on
the NET that state XP Styles are not available for custom forms. Is this true?



Dmitry Streblechenko September 6th 06 07:05 PM

XP Styles with custom form
 
Do you mean Windows XP themes? In that case your code must explicitly paint
the controls using the themes API - outlook.exe does not include a manifest
as a resource that would cause Window to automatically paint all controls in
outlook.exe using themes.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"Tom at GSD" wrote in message
...
Hi,

I have designed a C++ COM addin with a custom contact form that was
derived
from the standard contact form. Essentially I am adding a couple command
buttons to the form. I publish the form and open it up only to notice that
the XP Styles are non existent. I have implemented XP Styles within the
DLL
but still the XP Styles are not to be seen. I have seen a couple articles
on
the NET that state XP Styles are not available for custom forms. Is this
true?






All times are GMT +1. The time now is 09:20 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com