ApplicationEvents4_WindowBeforeRightClickEventHandler Delegate

Definition

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.

public delegate void ApplicationEvents4_WindowBeforeRightClickEventHandler(Selection ^ Sel, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void ApplicationEvents4_WindowBeforeRightClickEventHandler(Selection Sel, out bool Cancel);
type ApplicationEvents4_WindowBeforeRightClickEventHandler = delegate of Selection * bool -> unit
Public Delegate Sub ApplicationEvents4_WindowBeforeRightClickEventHandler(Sel As Selection, ByRef Cancel As Boolean)

Parameters

Sel
Selection

The current selection.

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

Attributes

Applies to