Adding icon to the custom field using "olYesNo"

  • Thread starter Sanjay_S via OfficeKB.com
  • Start date
S

Sanjay_S via OfficeKB.com

Hi

I have written an application in VC++;
I want to have a custom field in outlook say "Mobile" and i want to place a
icon into that field..

_MailItemPtr olMail( pApp->CreateItem(olMailItem));
UserPropertyPtr kkk = olMail->UserProperties->Add("Mobile",olYesNo,true,
vtMissing);
olMail->Close(olSave);

I am able to create a field and see the same thing added onto my field
chooser.
My Question is
1). I am using olYesNo as Type, but i dont know how to make it as a icon
field.

Thanks in advance
Sanjay
 
S

Sue Mosher [MVP-Outlook]

Whether a particular field displays an icon is governed by the column settings for the view that displays that field. Custom icons are not supported.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

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