Print Page | Close Window

Using SkinFramework with Outlook add-in

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=8758
Printed Date: 17 November 2024 at 3:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Using SkinFramework with Outlook add-in
Posted By: Cidtek
Subject: Using SkinFramework with Outlook add-in
Date Posted: 12 November 2007 at 3:08pm
Outlook add-ins do not recognize application manifest files so OS theming has to achieved by using themeable controls such as  SkinFramework.
 
However when I open an Outlook contact it is now showing weird artifacts such as some solid black text boxes.
 
Problem solved with the following...
 SkinFramework.AutoApplyNewWindows = False
 
However now my add-in application does not theme dialogs such as the color chooser which it it does without the above restriction.
 
Any ideas on how to theme its own child windows but not parent windows in Outlook itself?



Replies:
Posted By: meaningoflights
Date Posted: 16 November 2007 at 4:57am
Originally posted by Cidtek Cidtek wrote:

However now my add-in application (JT: for Outlook) does not theme dialogs such as the color chooser ...
Any ideas on how to theme its own child windows but not parent windows in Outlook itself?


can you include bare bone example code?

You would find it very difficult. I mean HARD. Because you've only got access to its object library (VBA or VSTO).

The hooks (theme child windows but not parent windows in Outlook)  your looking for in outlook I dont think are *publicly* available.  Maybe you can override it using hWnd. Nothing is impossible, so If you do find a way... DO let us all know.

I advise:

I'd change the add-ins skin to reflect Outlooks' parent/main/overall window.

Your add-in will look odd if its inconsistent.


HTH




-------------
Jeremy Thompson (MCSD)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net