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.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"squallcpp via OfficeKB.com" u53180@uwe wrote in message
news:98fe281003073@uwe...
Hello
Here what's I want to do. (outlook 2007)
First,Outlook-Contacts Folder-Current view =Address Cards ,then I want
to
add a icon or picture into each contact item in Contacts Cards
View.Normally,
we can add a User-defined fields via customize current view,while the
field
type can not be a picture.
So,I trying to get the contact item handle in the Card View to find some
threads. The window class type of the Card View is "rctrl_renwnd32",while
I
cann't get the its child control in it. Is there any way to get all the
items
in the address(business) cards view?
thanks
squall
--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...ddins/200907/1