Mail item image

J

Julieta Prandi

Hi,
I wonder if there is any way to change the image displayed in the SUPERGRID
that shows the list of messages of a specific folder.
I mean if there is any way: it could be something related to the control
itself. I 'spied' the messages but I didn't find any useful, it should be a
COM object of some kind.

Thanks on advance,
(- July -)
 
D

Dmitry Streblechenko

You can either set the PR_ICON_INDEX Extended MAPI property (Extended
MAPI/CDO 1.21/Redemption, but not OOM). There are about 2 dozen built-in
icons you can chose from.
Or you can publish your own form with it own icon. If the message class
matches that of your custom form, Outlook will display the icon.

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

Julieta Prandi

so, as I understood:
- I can set to 'any' message a icon between 2 dozen built-in icons using
PR_ICON_INDEX Extended MAPI property.
- Or I can set a different mail item class to set my own icon.

Is this ok?

thanks,
july
 
D

Dmitry Streblechenko

1. Yes. But Outlook will set its own icon if you, for example, reply to a
message.
2. Yes, if you design and publish your own form and are willing to live with
the fact that every message with that message class will be displayed using
your form.

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

Dmitry Streblechenko

I don't think there is one. You can play with it in OutlookSpy: select a
message to which you replied (to make sure PR_ICON_INDEX is present), click
IMessage, select the PR_ICON_INDEX property and double click it.
If I remember correctly, the icons are groupped around 0..20, 250..260,
1020...? ranges.

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

Julieta Prandi

thank you very much Dmitry!

Dmitry Streblechenko said:
I don't think there is one. You can play with it in OutlookSpy: select a
message to which you replied (to make sure PR_ICON_INDEX is present),
click IMessage, select the PR_ICON_INDEX property and double click it.
If I remember correctly, the icons are groupped around 0..20, 250..260,
1020...? ranges.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top