Thanks for your replying.
The second is what I am want to do.
Here are the detail ideas.
1,Add a status icon just next the mail sender or (receiver).when you open a
mail item,user can see the contact presence
2, Add a custom field that has a picture in it for each contact item in a
specific view.
For the point one,I can insert a picture object via the interface
InsertObject of IRichEditOle.
while the point two,I cann't get and manipulate contact item in card view
mode.
besides,I listen the OnSelectionChange of interface ExplorerEvents, the
Outlook::Selection objects are Outlook::_ContactItem,while I want get the
HWND or something can manipulate its drawing.
Thanks for any suggestions.
squall
Ken Slovak - [MVP - Outlook] wrote:
I'm not clear on what you want. Do you want to add a picture to the picture
field of each contact item, or do you want to add a custom field that has a
picture in it. For the first you'd use the ContactItem.AddPicture() method
and supply the image file path in that method. The second is not possible.
It's not possible to find what items are visible in a specific view. You'd
need to get the Items collection for the folder and deal with every item in
the folder.
That Windows class name applies to any Outlook window (except for WordMail
windows). It won't help you at all.
Hello
[quoted text clipped - 16 lines]
thanks
squall
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200907/1