Other Events


Table 10.2 lists several other, less commonly used events in the Outlook object model. Figure 10.3 shows the Shortcuts pane of the Outlook bar, with which several events in Table 10.2 are associated.

Figure 10.3. The Shortcuts pane, showing two groups (Shortcuts and Group1) and two shortcuts (Outlook Today and Inbox).


Table 10.2. Additional Outlook Events

Events

Description

Search Events

 

Application.AdvancedSearchCompleted

When the AdvancedSearch method on the Application object is invoked programmatically, this event is raised when the search is complete.

Application.AdvancedSearchStopped

When the AdvancedSearch method on the Application object is invoked programmatically, this event is raised if the search is stopped by calling Stop on the Search object returned by the AdvancedSearch method.

Synchronization Events

 

SyncObject.OnError

Raised when a synchronization error occurs while synchronizing the Send\Receive group corresponding to the SyncObject.

SyncObject.Progress

Raised periodically while synchronizing the Send\Receive group corresponding to the SyncObject.

SyncObject.SyncEnd

Raised when the synchronization is complete for the Send\Receive group corresponding to the SyncObject.

SyncObject.SyncStart

Raised when the synchronization starts for the Send\Receive group corresponding to the SyncObject.

Reminder Events

 

Application.Reminder

Raised before a reminder is displayed.

Reminders.BeforeReminderShow

Raised before a reminder is displayed.

ReminderCollection.ReminderAdd

Raised when a reminder is added to the ReminderCollection.

ReminderCollection.ReminderChange

Raised when a reminder is changed in the ReminderCollection.

ReminderCollection.ReminderFire

Raised before a reminder in the ReminderCollection is displayed.

ReminderCollection.ReminderRemove

Raised when a reminder is removed from the ReminderCollection.

ReminderCollection.ReminderSnooze

Raised when a reminder in the ReminderCollection is snoozed.

Outlook Bar Shortcuts Pane Events

 

OutlookBarGroups.BeforeGroupAdd

Raised before a new group is added to the Shortcuts pane in the Outlook bar.

OutlookBarGroups.BeforeGroupRemove

Raised before a group is removed from the Shortcuts pane in the Outlook bar.

OutlookBarGroups.GroupAdd

Raised when a new group is added to the Shortcuts pane in the Outlook bar.

OutlookBarPane.BeforeGroupSwitch

Raised before the user switches to a different group in the Shortcuts pane in the Outlook bar.

OutlookBarPane.BeforeNavigate

Raised when the user clicks on a Shortcut in the Shortcuts pane in the Outlook bar.

OutlookBarShortcuts.BeforeShortcutAdd

Raised before a Shortcut is added to the Shortcuts pane in the Outlook bar.

OutlookBarShortcuts.BeforeShortcutRemove

Raised before a shortcut is removed from the Shortcuts pane in the Outlook bar.

OutlookBarShortcuts.ShortcutAdd

Raised when a shortcut is added to the Shortcuts pane in the Outlook bar.





Visual Studio Tools for Office(c) Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
Visual Studio Tools for Office: Using Visual Basic 2005 with Excel, Word, Outlook, and InfoPath
ISBN: 0321411757
EAN: 2147483647
Year: N/A
Pages: 221

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net