Partager via


IVsIntelliMouseHandler.HandleWheelRotation Method

Definition

Overloads

HandleWheelRotation(IntPtr, IntPtr, UInt32)
HandleWheelRotation(IntPtr, UInt32, UInt32)

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

HandleWheelRotation(IntPtr, IntPtr, UInt32)

public:
 int HandleWheelRotation(IntPtr hwnd, IntPtr wp, System::UInt32 dwStyle);
public int HandleWheelRotation (IntPtr hwnd, IntPtr wp, uint dwStyle);
abstract member HandleWheelRotation : nativeint * nativeint * uint32 -> int
Public Function HandleWheelRotation (hwnd As IntPtr, wp As IntPtr, dwStyle As UInteger) As Integer

Parameters

hwnd
IntPtr

nativeint

wp
IntPtr

nativeint

dwStyle
UInt32

Returns

Applies to

HandleWheelRotation(IntPtr, UInt32, UInt32)

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

public:
 int HandleWheelRotation(IntPtr hwnd, System::UInt32 wp, System::UInt32 dwStyle);
public int HandleWheelRotation (IntPtr hwnd, uint wp, uint dwStyle);
abstract member HandleWheelRotation : nativeint * uint32 * uint32 -> int
Public Function HandleWheelRotation (hwnd As IntPtr, wp As UInteger, dwStyle As UInteger) As Integer

Parameters

hwnd
IntPtr

nativeint

[in] The HWND of the active window.

wp
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
UInt32

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

Returns

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  
);  

Applies to