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 » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Change E-Mail Icon



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 9th 07, 05:14 AM posted to microsoft.public.outlook.program_vba
DG
external usenet poster
 
Posts: 31
Default Change E-Mail Icon

Is it possible to change the icon used for an opened MailItem? I have a
criteria that I would like to classify e-mails using a custom Outlook field.
I would like to change the icon based on this classification. Is this at all
possible in Outlook 2003 sp2?

The only folder I truley care about showing this icon would be the Sent
folder, if it matters.

I would like to use VSTO with VS 2005.

Thank you,
DG
  #2  
Old April 9th 07, 09:19 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default Change E-Mail Icon

You can set the PR_ICON_INDEX MAPI propety to one of the bult-in Outlook
icons (you can play with that property usisng MFCMAPI or OutlookSpy).
If you want your own icon, you need to publish your own form with a custom
icon for a custom message class, then change the item's message class to
that handled by a form.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool

"DG" wrote in message
...
Is it possible to change the icon used for an opened MailItem? I have a
criteria that I would like to classify e-mails using a custom Outlook
field.
I would like to change the icon based on this classification. Is this at
all
possible in Outlook 2003 sp2?

The only folder I truley care about showing this icon would be the Sent
folder, if it matters.

I would like to use VSTO with VS 2005.

Thank you,
DG



 




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
changing the class doesn't change the icon! [email protected] Outlook - Using Forms 3 December 30th 06 04:10 PM
how do i change the icon for a folder tigrib Outlook - Using Contacts 1 September 29th 06 02:53 PM
how do i change the icon for a folder tigrib Outlook - Using Contacts 0 September 29th 06 05:31 AM
Change icon in custom form Stimpy Outlook - Using Forms 10 April 27th 06 09:26 PM
Change Envelope Icon in MailItem. Zerick_sp Outlook and VBA 3 April 10th 06 05:14 PM


All times are GMT +1. The time now is 07:02 AM.


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.