![]() |
Outlook 'look and feel'
My add-in's forms and control have a distinctly windows 98 (or so) feel
about them. Is there something that I need to do in my VS 2005 project to use the Windows XP style? Thanks, Craig Buchanan |
Outlook 'look and feel'
With Framework 2.0 or higher (too buggy in Framework 1.0 and 1.1) put this
as your first code line in the OnConnection() event handler or Startup(): System.Windows.Forms.Application.EnableVisualStyle s(); That will enable styles for your addin, but not for custom Outlook forms. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Craig Buchanan" wrote in message ... My add-in's forms and control have a distinctly windows 98 (or so) feel about them. Is there something that I need to do in my VS 2005 project to use the Windows XP style? Thanks, Craig Buchanan |
Outlook 'look and feel'
Thanks Ken. Worked as perfectly.
"Ken Slovak - [MVP - Outlook]" wrote in message ... With Framework 2.0 or higher (too buggy in Framework 1.0 and 1.1) put this as your first code line in the OnConnection() event handler or Startup(): System.Windows.Forms.Application.EnableVisualStyle s(); That will enable styles for your addin, but not for custom Outlook forms. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Craig Buchanan" wrote in message ... My add-in's forms and control have a distinctly windows 98 (or so) feel about them. Is there something that I need to do in my VS 2005 project to use the Windows XP style? Thanks, Craig Buchanan |
All times are GMT +1. The time now is 12:25 PM. |
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