Ken,
I mostly have everything working now. Except in my custom form, the Item_Read
event would fire when the item was selected in a view. However, now that I've
ported my code over to VBA, the Read event only fires when the item is
double-clicked (opened). How can I get a read event to fire from VBA when an
item in a folder is selected and previewed?
Thanks for all your help!
John
"Ken Slovak - [MVP - Outlook]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
It sounds like you aren't using unique Key properties for each item in the
wrapper class collection. Just like with custom command bar buttons where a
unique Tag property is required to prevent a button click from firing in
each Inspector that is open you need to use unique Key properties for an
Inspector wrapper.
Also, make sure each Inspector wrapper class is released and removed from
the Inspectors wrapper collection when the Inspector is closed.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"John Riddle" <jriddleatsignwilsongroupnyperiodcom> wrote in message
news:%(E-Mail Removed)...
> Ken,
>
> Thanks! That worked great. Now I have an issue where events are firing
> multiple times (once for each time the item as been opened).
>
> For example, if I put the statement
>
> MsgBox "I'm open"
>
> into the m_objContact_Open() event, it fires once the first time. The next
> time I open the item, I get two message boxes, the third time I get three
> of
> them and so on...
>
> Any idea what I might have done wrong?
>
> Thanks,
>
> John