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