Partager via


IVsIntelliMouseHandler.HandleWheelButtonDown Method

Handle the Intellisense wheel button being pushed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Function HandleWheelButtonDown ( _
    hwnd As IntPtr, _
    dwStyle As UInteger _
) As Integer
int HandleWheelButtonDown(
    IntPtr hwnd,
    uint dwStyle
)
int HandleWheelButtonDown(
    [InAttribute] IntPtr hwnd, 
    [InAttribute] unsigned int dwStyle
)
abstract HandleWheelButtonDown : 
        hwnd:IntPtr * 
        dwStyle:uint32 -> int
function HandleWheelButtonDown(
    hwnd : IntPtr, 
    dwStyle : uint
) : int

Parameters

  • hwnd
    Type: IntPtr

    [in] The HWND of the active window.

  • dwStyle
    Type: UInt32

    [in] Bit flags, such as WS_VSCROLL, indicating which scrollbar styles are used. Set to zero (0) for defaults.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsIntelliMouseHandler::HandleWheelButtonDown(
   [in] HWND hwnd, 
   [in] DWORD dwStyle
);

.NET Framework Security

See Also

Reference

IVsIntelliMouseHandler Interface

Microsoft.VisualStudio.Shell.Interop Namespace