IApplicationEvents2.WindowBeforeRightClick Method 

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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

Usage

Dim Sel As Selection
Dim Cancel As Boolean
Dim iApplicationEvents21 As IApplicationEvents2
iApplicationEvents21.WindowBeforeRightClick(Sel, Cancel)

Syntax

Sub WindowBeforeRightClick( _
    <InAttribute()> ByVal Sel As Selection, _
    <InAttribute()> ByRef Cancel As Boolean _
)
void WindowBeforeRightClick(
    [In] Selection Sel, 
    [In] ref bool Cancel
);
public: Void WindowBeforeRightClick(
    Selection^ Sel, 
    &Boolean Cancel
);
public void WindowBeforeRightClick(
    /*in*/Selection Sel, 
    /*in*/boolean Cancel
);
function WindowBeforeRightClick(
     Sel : Selection, 
     Cancel : Boolean
);

Parameters

  • Sel
    This parameter is intended for internal use only.
  • Cancel
    This parameter is intended for internal use only.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

IApplicationEvents2 Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

IApplicationEvents2 Members