Expand Minimize

ApplicationEvents4_WindowBeforeRightClickEventHandler delegate

A Delegate type used to add an event handler for the WindowBeforeRightClick event. The WindowBeforeRightClick event occurs when the editing area of a document window is right-clicked, before the default right-click action.

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

'Declaration
<ComVisibleAttribute(False)> _
PublicDelegateSubApplicationEvents4_WindowBeforeRightClickEventHandler ( _
	SelAsSelection, _
	<OutAttribute> ByRefCancelAsBoolean _
)
'Usage
DiminstanceAsNewApplicationEvents4_WindowBeforeRightClickEventHandler(AddressOf HandlerMethod)

Parameters

Sel
Type: Microsoft.Office.Interop.Word.Selection

The current selection.

Cancel
Type: System.Boolean

False when the event occurs. If the event procedure sets this argument to True, the default right-click action does not occur when the procedure is finished.

Show:
© 2014 Microsoft