Setting resource icon on address list items
Category: MAPI
Hi,In outlook 2007/Exchange 2007 environment, global address list items can show and icon of the person or a resource.
I'm trying to imitate this behavior by changing properties of contacts in outlook in order to show a resource icon in the address book view in outlook 2007.I added the PR_DISPLAY_TYPE_EX that should control the icon and I try to set it to 0x08 (DTDT_EQUIPMENT) or any other combination
of remote/local bits, but the icon doesn't change.Interestingly, looking with outlookspy on the IMailUser in the IABContainer of the address list does not show the PR_DISPLAY_TYPE_EX while looking at the IMessage from IMapiFolder does show the property.Has anyone had success with changing the icon? Am I missing other properties?
Thanks,
Rodi Reich
noway@spam.com
_________________________________________________________________
Windows 7: It works the way you want. Learn more.
http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2
--------------------------------------------------------------------------
The MAPI-L list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software. For sub/unsub info and archives,
see http://peach.ease.lsoft.com/archives/mapi-l.html .
COPYRIGHT INFO:
http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=MAPI-L
Questions or comments? Feel free to post them here. No login or id required.