Hooks in Word

Add-in Express™ Support Service
That's what is more important than anything else

Hooks in Word
Default Action 
David Golden




Posts: 11
Joined: 2006-03-07
Hey Guys

Two (hopefully) quick questions for you. Using Hooks in Word and disabling the standard action. Is it possible during run-time to re-enable the standard action and run it? say if a user selects no on a Message Dialog?

My other question is to do with outlook and tracking multiple items on drag and drop. I've tried using the ActiveExplorer.selection method, but it fires after each item is moved. To explain, I want to be able to track exactly which emails are being dragged and dropped. It doesn't matter where they are coming from or going, I just need to be able to watch their ID's or Subjects or something similar.

Thanks in Advance

David.
Posted 19 Mar, 2006 18:00:01 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi David,

1. I would recommend using Object Model methods in this case. For example, if you hook and disable the standard Save button, you can always use the _Document.Save method.

2. May be it makes sense to use the OnItemAdd event of the _Items interface (see the TItems class in the Outlook2000.pas unit).

Posted 20 Mar, 2006 08:37:39 Top