Information
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.

ApplicationEvents2_WindowBeforeRightClickEventHandler Delegate 

See the description for this event handler in the latest version of the event interface.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Sub Sub1(Sel As Selection, _
	Cancel As Boolean)
End Sub
Dim applicationEvents2_WindowBeforeRightClickEventHandler1 As New ApplicationEvents2_WindowBeforeRightClickEventHandler(AddressOf Sub1)

public delegate void ApplicationEvents2_WindowBeforeRightClickEventHandler(
	[In] Selection Sel, 
	[In] ref bool Cancel
);
public delegate void ApplicationEvents2_WindowBeforeRightClickEventHandler(
	/*in*/Selection Sel, 
	/*in*/boolean Cancel
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

Sel

See the description for this event handler parameter in the latest version of the event interface.

Cancel

See the description for this event handler parameter in the latest version of the event interface.

Development Platforms

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

Target Platforms

Community Additions

Show:
© 2014 Microsoft