Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: XP Styles with custom form

Geek News

XP Styles with custom form
Tom at GSD 9/6/2006 2:58:02 PM
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?


Re: XP Styles with custom form
"Sue Mosher [MVP-Outlook]" <suemvp[ at ]outlookcode.com> 9/6/2006 3:16:50 PM
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" <TomatGSD[ at ]discussions.microsoft.com> wrote in message news:977AEA44-C048-41E6-8D25-8D70EF7976B5[ at ]microsoft.com...
[Quoted Text]
> 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?
>
>
Re: XP Styles with custom form
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 9/6/2006 5:05:38 PM
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" <TomatGSD[ at ]discussions.microsoft.com> wrote in message
news:977AEA44-C048-41E6-8D25-8D70EF7976B5[ at ]microsoft.com...
[Quoted Text]
> 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?
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net