IVsIntelliMouseHandler::HandleWheelRotation Method (IntPtr, UInt32, UInt32)
Visual Studio 2015
If the Intellisense mouse wheel has been moved, respond to the movement.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
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::Int32If 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 );
Show: