InkPicture.MouseWheel event
Occurs when the mouse wheel moves while the InkPicture control has focus.
Syntax
void MouseWheel( [in] InkMouseButton Button, [in] InkShiftKeyModifierFlags Shift, [in] long Delta, [in] long x, [in] long y, [in, out] VARIANT_BOOL *Cancel );
Parameters
- Button [in]
-
The button that was pressed.
- Shift [in]
-
The state of the SHIFT key.
- Delta [in]
-
The distance that the mouse wheel turned.
- x [in]
-
The x-coordinate, in pixels, of the IInkCursor object.
- y [in]
-
The y-coordinate, in pixels, of the IInkCursor object.
- Cancel [in, out]
-
VARIANT_TRUE to cancel the MouseWheel event for the parent control; otherwise, VARIANT_FALSE.
Return value
This event does not return a value.
Remarks
This event method is defined in the _IInkPictureEvents interface. The _IInkPictureEvents interface implements the IDispatch interface with an identifier of DISPID_IPEMouseWheel.
Requirements
|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
Library |
|
See also