Aracılığıyla paylaş


CoreWebView2MouseEventVirtualKeys Enum

Definition

Mouse event virtual keys associated with a COREWEBVIEW2_MOUSE_EVENT_KIND for SendMouseInput. These values can be combined into a bit flag if more than one virtual key is pressed for the event. The values of this enum align with the matching MK_* mouse keys.

This enumeration supports a bitwise combination of its member values.

[System.Flags]
public enum CoreWebView2MouseEventVirtualKeys
[<System.Flags>]
type CoreWebView2MouseEventVirtualKeys = 
Public Enum CoreWebView2MouseEventVirtualKeys
Inheritance
CoreWebView2MouseEventVirtualKeys
Attributes

Fields

Name Value Description
None 0

No additional keys pressed.

LeftButton 1

Left mouse button is down, MK_LBUTTON.

RightButton 2

Right mouse button is down, MK_RBUTTON.

Shift 4

SHIFT key is down, MK_SHIFT.

Control 8

CTRL key is down, MK_CONTROL.

MiddleButton 16

Middle mouse button is down, MK_MBUTTON.

XButton1 32

First X button is down, MK_XBUTTON1

XButton2 64

Second X button is down, MK_XBUTTON2

Applies to