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

  • Thread starter Thread starter pkelley
  • Start date Start date
P

pkelley

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.
 
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.
 
Back
Top