Partager via


EApplication_WindowBeforeRightClickEventHandler Delegate

A delegate for an event in the corresponding object. After you implement a callback method for the event, use this delegate to connect the callback method to the event.

Occurs when you right-click a shape, a slide, a notes page, or some text. This event is triggered by the MouseUp event.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub EApplication_WindowBeforeRightClickEventHandler ( _
    Sel As Selection, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New EApplication_WindowBeforeRightClickEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void EApplication_WindowBeforeRightClickEventHandler(
    Selection Sel,
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean
    false when the event occurs. If the event procedure sets this argument to true, the default context menu does not appear when the procedure is finished.

See Also

Reference

Microsoft.Office.Interop.PowerPoint Namespace

WindowBeforeRightClick