An event is an action or occurrence, often generated by the user, that a VBScript event handler, Visual Studio add-in, or other Automation controller can respond to.
For example, if a user clicks on a window, IDE fires the WindowActivate event of the Application object.
The following table shows the events that are available under the IApplication interface.
| Event | Description |
|---|---|
| BeforeApplicationShutDown | Occurs before the add-in shuts down. |
| BeforeBuildStart | Occurs before a build starts. |
| BeforeDocumentClose | Occurs before a specified document closes. |
| BreakpointHit | Occurs when a breakpoint is hit. |
| BuildFinish | Occurs after a build completes. |
| DocumentOpen | Occurs after a specified document opens. |
| DocumentSave | Occurs after a specified document is saved. |
| NewDocument | Occurs after a specified document is created. |
| NewWorkspace | Occurs after a workspace is created. |
| WindowActivate | Occurs after a specified window becomes active. |
| WindowDeactivate | Occurs after a specified window becomes inactive. |
| WorkspaceClose | Occurs after a workspace closes. |
| WorkspaceOpen | Occurs after a workspace opens. |
See Also
Send Feedback on this topic to the authors