共用方式為


IVsIntelliMouseHandler.HandleWheelButtonDown(IntPtr, UInt32) Method

Definition

Handle the Intellisense wheel button being pushed.

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

Parameters

hwnd
IntPtr

nativeint

[in] The HWND of the active window.

dwStyle
UInt32

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsIntelliMouseHandler::HandleWheelButtonDown(  
   [in] HWND hwnd,   
   [in] DWORD dwStyle  
);  

Applies to