Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
'Usage
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
- 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 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
- 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.
See Also
Reference
IVsIntelliMouseHandler Interface