The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ApplicationEvents4_WindowSelectionChangeEventHandler Delegate 

A Delegate type used to add an event handler for the WindowSelectionChange event. The WindowSelectionChange event occurs when the selection changes in the active document window.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in

Sub Sub1(Sel As Selection)
End Sub
Dim applicationEvents4_WindowSelectionChangeEventHandler1 As New ApplicationEvents4_WindowSelectionChangeEventHandler(AddressOf Sub1)

public delegate void ApplicationEvents4_WindowSelectionChangeEventHandler(
	[In] Selection Sel
public delegate void ApplicationEvents4_WindowSelectionChangeEventHandler(
	/*in*/Selection Sel
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



The new selection.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

© 2015 Microsoft