A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Outlook 'look and feel'



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 20th 09, 09:26 PM posted to microsoft.public.outlook.program_addins
Craig Buchanan[_2_]
external usenet poster
 
Posts: 12
Default 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


  #2  
Old January 20th 09, 09:40 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default 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


  #3  
Old January 20th 09, 09:51 PM posted to microsoft.public.outlook.program_addins
Craig Buchanan[_2_]
external usenet poster
 
Posts: 12
Default 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




 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI is all washed out, want Win2K / Office 2000 look and feel back LurfysMa Outlook - General Queries 18 May 7th 07 04:30 PM
Same "look & feel" PeTrUs Outlook - Installation 5 September 6th 06 03:33 PM
Designers of the look & feel of XL/Word options should do Outlook PeterM Outlook - Installation 0 July 11th 06 05:50 PM


All times are GMT +1. The time now is 12:28 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-2025 Outlook Banter.
The comments are property of their posters.