You can look at the ConversationIndex property. If the length is 44 chars,
it is an original message. Otherwise remove 10 trailings chars and look for
a message with that value of ConversationIndex.
Not very efficient, but this is the best you can do IMHO.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Yes, that works, I do get the item with this event, but I want to catch
> the original item and manipulate it before it gets to the Inspector.
[quoted text clipped - 4 lines]
>
> james
james - 22 Feb 2006 02:26 GMT
Dmitriy, thanks for tip.
What about setting the reply event on *each* message in the open
explorer. I could see this would work well for mailboxes with small
numbers of messages, but would be quite painful when the number of
messages was in the 100's.
Also inefficient, but doesn't seem as if we have a direct method.
Dmitry Streblechenko - 22 Feb 2006 21:12 GMT
That wouldn't be a good idea - besides being inefficient, you can also run
out of 255 RPC channels/process limit in case of Exchange as each referenced
item would open its own RPC channel.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
> Dmitriy, thanks for tip.
>
[quoted text clipped - 4 lines]
>
> Also inefficient, but doesn't seem as if we have a direct method.