IVsIntelliMouseHandler.HandleWheelRotation Method

If the Intellisense mouse wheel has been moved, respond to the movement.

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

Syntax

‘선언
Function HandleWheelRotation ( _
    hwnd As IntPtr, _
    wp As UInteger, _
    dwStyle As UInteger _
) As Integer
‘사용 방법
Dim instance As IVsIntelliMouseHandler
Dim hwnd As IntPtr
Dim wp As UInteger
Dim dwStyle As UInteger
Dim returnValue As Integer

returnValue = instance.HandleWheelRotation(hwnd, _
    wp, dwStyle)
int HandleWheelRotation(
    IntPtr hwnd,
    uint wp,
    uint dwStyle
)
int HandleWheelRotation(
    [InAttribute] IntPtr hwnd, 
    [InAttribute] unsigned int wp, 
    [InAttribute] unsigned int dwStyle
)
abstract HandleWheelRotation : 
        hwnd:IntPtr * 
        wp:uint32 * 
        dwStyle:uint32 -> int 
function HandleWheelRotation(
    hwnd : IntPtr, 
    wp : uint, 
    dwStyle : uint
) : int

Parameters

  • wp
    Type: System.UInt32
    [in] A Windows message parameter. If the message is WM_MOUSEWHEEL, uses GET_WHEEL_DELTA_WPARAM macro to extract how far the wheel has moved and responds.
  • dwStyle
    Type: System.UInt32
    [in] Bit flags, such as Window Styles, indicating which scrollbar styles are used. Set to zero (0) for defaults.

Return Value

Type: System.Int32
If the Windows message parameter is a mouse wheel message, responds and returns S_OK. Otherwise, returns S_FALSE.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsIntelliMouseHandler::HandleWheelRotation(
   [in] HWND hwnd, 
   [in] WPARAM wp, 
   [in] DWORD dwStyle
);

.NET Framework Security

See Also

Reference

IVsIntelliMouseHandler Interface

IVsIntelliMouseHandler Members

Microsoft.VisualStudio.Shell.Interop Namespace