Using SkinFramework with Outlook add-in |
Post Reply |
Author | |
Cidtek
Newbie Joined: 29 June 2006 Location: Canada Status: Offline Points: 7 |
Post Options
Thanks(0)
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?
|
|
meaningoflights
Groupie Joined: 27 October 2007 Status: Offline Points: 35 |
Post Options
Thanks(0)
|
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)
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |