Message Class Icon

  • Thread starter Thread starter Michael Tissington
  • Start date Start date
M

Michael Tissington

What is the quickest way to get the icon for a given message class?
Can I do this without opening the form ?

Thanks.
 
I guess you can hardcode the icons for the built-in message classes and for
the messages with PR_ICON_INDEX present. For everything else you would need
to use the IMAPIFormMgr to call IMAPIFormMgr::ResolveMessageClass(), then
read PR_ICON and PR_MINI_ICON I am afraid.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
Thanks - I think I'll skip trying to display the icon next to the Subject :(
 
Back
Top