Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Declaration
Function HandleWheelRotation ( _
hwnd As IntPtr, _
wp As UInteger, _
dwStyle As UInteger _
) As Integer
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
- 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.
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsIntelliMouseHandler::HandleWheelRotation(
[in] HWND hwnd,
[in] WPARAM wp,
[in] DWORD dwStyle
);
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.