IVsIntelliMouseHandler::HandleWheelRotation Method (IntPtr, UInt32, UInt32)

 

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)

int HandleWheelRotation(
	IntPtr hwnd,
	unsigned int wp,
	unsigned int dwStyle
)

Parameters

hwnd
Type: System::IntPtr

[in] The HWND of the active window.

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 WS_VSCROLL, 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.

From vsshell.idl:

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