編輯

共用方式為


OlShiftState Enum

Definition

Represents a bitmask to indicate which modifier key is pressed during a keyboard or mouse event of a control.

public enum class OlShiftState
[System.Runtime.InteropServices.Guid("B791AC59-1E79-4007-A6A1-4A4FE62F8D03")]
public enum OlShiftState
Public Enum OlShiftState
Inheritance
OlShiftState
Attributes

Fields

Name Value Description
olShiftStateShiftMask 1

Indicates that the SHIFT key is pressed during the event.

olShiftStateCtrlMask 2

Indicates that the CTRL key is pressed during the event.

olShiftStateAltMask 4

Indicates that the ALT key is pressed during the event.

Applies to