Find the selected occurrence of a recurring appointment

  • Thread starter Thread starter GillesC
  • Start date Start date
G

GillesC

Hi,
I'm stuck in my devlopment because I can't find a way to know which specific
occurrence of a recurring appointment is selected/modified by a user.

I tried to use the SectionChange event of the explorer object or the write
event of the appointment item. But in both cases I'm only able to find the
parent appointment object, I can't even know which day was clicked.

Please help!
 
Changes to instances of a recurring appointment will cause that modified
appointment to be placed in the Exceptions collection of the
RecurrencePattern. You can iterate the collection when your code starts and
then check it again to see if there are any changes to it.
 
Thanks for your reply.
I'm going to try to sort this out this way.
It would have been much easyier however if I could directly point the
selected occurence. Oulook itself "knows" it as it impacts the
RecurrencePattern.Exceptions collection straight...

Thanks again anyway.
Gilles
 
What do you think Outlook is doing under the hood? It's doing the same thing
I suggested, except it's doing it in C++ code using Extended MAPI and not
the Outlook object model.
 
Back
Top