Masking a mail message icon

B

Boaz Feldbaum

Hello,

I'm looking for a way to get the bitmap of the icon of a mail message and
draw something on it and set it back to be the new icon of that message. I
need to do it seperately for some messages. Each mail message may have a
different icon (not yet opened, opened, replyed, forwarded). I need to get
the bitmap of whatever icon a message has and draw something on it so
indicate that this is some special message. Is there a way to do it using
OOM or MAPI?

Thanks a lot in advance,
Boaz.
 
B

Boaz Feldbaum

OK, thanks! Is there then a way to create a column in outlook view that will
contain icons/bitmaps that I provide?

Thanks a lot in advance,
Boaz.
 
K

Ken Slovak - [MVP - Outlook]

No, not unless you find the spots on the screen that you want and overlay
your images there using various Win32 API's. Not something I'd want to try
to get working and try to maintain.
 
T

T-rev

Alternatively give the messages default message class for the items you want
to change, then assign that message class your new icon, outlook will then
automatically give that messageClass the new icon register in the default
icon section for that message class specified under hkcr. I would base the
new message class on IPM.Note.Forwarded for eg, so that you can have a
different icon but also it will use the normal default form to process this
item as it would work backward to IPM.Note to find a registered form message
class to process this type. therefore not affecting default behaviour.
For this you will need to be access and change the message class of the
items in the messageStore and preferably change it back to what it was
previously prior to moving it out of that store.
 

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