Changing the Icon for Contact items

N

Navin

hi All,
I am trying to change the message class and the PR_ICON_INDEX for
Contact items using the MAPI interfaces. However the icon index always
seems to get reset to 512. I suspected that the icon index may be reset
via some internal logic if the message class has changed. So I split
the logic into 2 seperate transactions i.e. Set the message class, Save
with KEEP_OPEN_READONLY flag, open the item entry again set the icon
and save the changes. This also does not seem to help.
Anyone have any clues about this one?
Thanks
Navin.
 
N

Navin

I figured this one out ... Every time we update the item through
Outlook or Outlook OM the icon gets reset to its default value. The
same is not true for emails however where the icon index is persisted.
 
N

Navin

I figured this one out ... Every time we update the item through
Outlook or Outlook OM the icon gets reset to its default value. The
same is not true for emails however where the icon index is persisted.
 

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