2.2.2 events - Delegate Types

App Event Cause Delegate/Hook/DispId
Outlook Quit When there are other components of Outlook opened (eg. an email is opened in a different window) and the main Outlook software is closed, causing Outlook to 'quit' and kill all extra windows. This event does not flow when Outlook is closed and there are no additional windows of Outlook opened beside the main interface. OnBeginShutdown()
  Open open MailItem InspectorsEvents_NewInspectorEventHandler
  Send MailItem sent ApplicationEvents_11_ItemSendEventHandler
  Read MailItem read - The "read" event is triggered ONLY THE FIRST TIME that the user looks at a mail message. This includes when a mail item is opened (double-clicked, in which case an "open" event is also triggered) and when the message is shown in the preview pane. This event does not appear to have anything to do with the "unread" message flag. ItemEvents_10_ReadEventHandler
  MailArrived When mail item arrived in your inbox or mail folder MailItem scans outlook folders for MailItems not seen prior.  If one found, this event sent.  Uses this to cue Java component to make a prediction??
  MailPredicted When EmailPredictor makes a prediction of an email EmailPredictor sends this
  MailLabeled When user set a task for the email in Outlook EmailPredictor sends this
       
Word Quit When MsWord is closed, not just a Word document. This event may also be triggered by MsOutlook if Outlook is using MsWord as the default mail editor. Although Outlook is the primary app, it uses MsWord thus MsWord events will also flow through. The MsWord events that can flow through from Outlook are Quit, Print, New, Close, and SaveAs. OnBeginShutdown()
  New When a new Word document is created (same caveat as Word Quit)
ApplicationEvents4_NewDocumentEventHandler
  Open When a Word document is opened (same caveat as Word Quit) ApplicationEvents4_DocumentOpenEventHandler
  Close When a Word document is closed. (same caveat as Word Quit) ApplicationEvents4_DocumentBeforeCloseEventHandler
  Print When a Word document is printed. This event is sent even if the print dialog is cancelled. (same caveat as Word Quit) ApplicationEvents4_DocumentBeforePrintEventHandler
  Save When the save option is selected for a word document. Does not flow when 'SaveAs' is selected as this fires a different event, refer to item number 111.(same caveat as Word Quit) ThisDocument.FileSave() macro
  SaveAs When a Word document is saved as a new file, hence the 'SaveAs' option is used instead of Save. (same caveat as Word Quit) ThisDocument.FileSaveAs() macro
  FolderPredictor
Test
When a MsWord file is opened or saved by a file dialog, we record the Windows default folder of that dialog and FolderPredictor's predictions, in order to test the performance of FolderPredictor. N/A
       
Excel Quit When MsExcel is closed OnBeginShutdown()
  SaveAs When an Excel document is saved as a new file, hence the 'SaveAs' option is used instead of Save excel macro
  New When a new Excel workbook is created AppEvents_NewWorkbookEventHandler
  Open When user opens an Excel workbook AppEvents_WorkbookOpenEventHandler
  Close When user closes an Excel workbook AppEvents_WorkbookBeforeCloseEventHandler
  Print When user prints an Excel workbook. This event is sent even if the print dialog is cancelled AppEvents_WorkbookBeforePrintEventHandler
  Save When the save option is selected for an excel document. Does not flow when 'SaveAs' selected. excel macro
  FolderPredictor
Test
When a MsExcel file is opened or saved by a file dialog, we record the Windows default folder of that dialog and FolderPredictor's predictions, in order to test the performance of FolderPredictor. N/A
       
PPT Quit When MsPowerPoint is closed, not just a PowerPoint document.  
  Close PowerPoint presentation close [DispId(2004)]  (IDispatch)
  New new PowerPoint presentation [DispId(2007)]  (IDispatch)
  Open open PowerPoint presentation [DispId(2006)]  (IDispatch)
  Save Event flows when the document is either 'Save' or 'SaveAs' [DispId(2005)]  (IDispatch)
  Print print PowerPoint presentation [DispId(2015)]  (IDispatch)
  FolderPredictor
Test
When a MsPowerPoint file is opened or saved by a file dialog, we record the Windows default folder of that dialog and FolderPredictor's predictions, in order to test the performance of FolderPredictor. N/A
       
IE Close When an html document or webpage is closed in IExplorer browser. DWebBrowserEvents2_WindowClosingEventHandler
DWebBrowserEvents2_BeforeNavigate2EventHandler
  Navigate When navigating to a website or within local addresses using the IExplorer browser DWebBrowserEvents2_DocumentCompleteEventHandler
  Quit When an IExplorer browser is closed/exited DWebBrowserEvents2_OnQuitEventHandler
       
Windows Explorer Close   DWebBrowserEvents2_BeforeNavigate2EventHandler
  Navigate When navigating through files and documents in WExpolorer DWebBrowserEvents2_DocumentCompleteEventHandler
       
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.