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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top