Event Capture - Item Context Menu (Delete). Can you hook it?

  • Thread starter cGtlbGxleQ
  • Start date Views 2,334
C

cGtlbGxleQ

Say you have Outlook 2007 running.

You click "Calendar" on the Navagation pane and you see in the Reading pane

1 month worth of appointments.

Now lets say you "Right-Click" on an Appointment Item in the Reading pane.

In the ItemContextMenuDisplay you select the command "Delete" to delete the

appointment.

Is there a way for my Add-In to hook that event?

Thanks.
 
K

Ken Slovak - [MVP - Outlook]

You can subscribe to the new Folder.BeforeItemMove() event for that Folder

object. If the MoveTo Folder argument passed to you is null the item is

going to be deleted.

"pkelley" <pkelley> wrote in message

news:EBDF91B6-7DD4-4F5A-8F04-EA695D6A6D22@microsoft.com...
> Say you have Outlook 2007 running.
> You click "Calendar" on the Navagation pane and you see in the Reading
> pane
> 1 month worth of appointments.
> Now lets say you "Right-Click" on an Appointment Item in the Reading pane.
> In the ItemContextMenuDisplay you select the command "Delete" to delete
> the
> appointment.

> Is there a way for my Add-In to hook that event?

> Thanks.
 

Top