ApplicationEvents4_WindowDeactivateEventHandler Delegate
A Delegate type used to add an event handler for the WindowDeactivate event. The WindowDeactivate event occurs when any document window is deactivated.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub ApplicationEvents4_WindowDeactivateEventHandler ( _
Doc As Document, _
Wn As Window _
)
'Usage
Dim instance As New ApplicationEvents4_WindowDeactivateEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void ApplicationEvents4_WindowDeactivateEventHandler(
Document Doc,
Window Wn
)
Parameters
- Doc
Type: Microsoft.Office.Interop.Word.Document
The document displayed in the deactivated window.
- Wn
Type: Microsoft.Office.Interop.Word.Window
The deactivated window.