值转换器接口
Definition IValueConverter.h:14
SimpleWindow框架的顶级命名空间,所有公共类型、控件、枚举和工具函数均定义于此。
Definition Alignment.h:4
MouseKey
鼠标事件时用于判断按键状态
Definition Keys.h:291
VirtualKey
虚拟按键
Definition Keys.h:65
@ NumPad5
Numeric keypad 5 key
@ LaunchMediaSelect
Select Media key
@ OEM_2
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ Applications
Applications key (Natural keyboard)
@ OEM_7
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ Hanguel
IME Hanguel mode (maintained for compatibility; use VK_HANGUL)
@ Sleep
Computer Sleep key
@ RightWindows
Right Windows key (Natural keyboard)
@ MediaPreviousTrack
Previous Track key
@ NumPad7
Numeric keypad 7 key
@ NumPad1
Numeric keypad 1 key
@ RightShift
Right SHIFT key
@ LaunchMail
Start Mail key
@ BrowserBack
Browser Back key
@ MediaStop
Stop Media key
@ MediaNextTrack
Next Track key
@ OEM_8
Used for miscellaneous characters; it can vary by keyboard.
@ OEM_Comma
For any country/region, the ',' key
@ NumPad2
Numeric keypad 2 key
@ MouseRight
Right mouse button
@ NumPad4
Numeric keypad 4 key
@ NumPad0
Numeric keypad 0 key
@ LaunchApplication2
Start Application 2 key
@ OEM_Minus
For any country/region, the '-' key
@ NumPad6
Numeric keypad 6 key
@ ScrollLock
SCROLL LOCK key
@ OEM_102
The <> keys on the US standard keyboard, or the \| key on the non-US 102-key keyboard
@ OEM_Plus
For any country/region, the '+' key
@ BrowserRefresh
Browser Refresh key
@ VolumeDown
Volume Down key
@ LeftShift
Left SHIFT key
@ VolumeMute
Volume Mute key
@ OEM_4
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ MouseMiddle
Middle mouse button (three-button mouse)
@ OEM_6
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ LeftWindows
Left Windows key (Natural keyboard)
@ Nonconvert
IME nonconvert
@ MediaPlayPause
Play/Pause Media key
@ BrowserHome
Browser Start and Home key
@ MouseLeft
Left mouse button
@ NumPad9
Numeric keypad 9 key
@ OEM_Period
For any country/region, the '.' key
@ BrowserSearch
Browser Search key
@ OEM_5
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ BrowserStop
Browser Stop key
@ LaunchApplication1
Start Application 1 key
@ Snapshot
PRINT SCREEN key
@ BrowserForward
Browser Forward key
@ OEM_3
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ NumPad8
Numeric keypad 8 key
@ OEM_1
Used for miscellaneous characters; it can vary by keyboard. For the US standard keyboard,...
@ Cancel
Control-break processing
@ ModeChange
IME mode change request
@ NumPad3
Numeric keypad 3 key
@ RightCtrl
Right CONTROL key
@ LeftCtrl
Left CONTROL key
@ Packet
Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32...
@ ProcessKey
IME PROCESS key
@ BrowserFavorites
Browser Favorites key
HotKeyModifier
表示热键框控件中的辅助按键,可以是一个或多个按键
Definition Keys.h:309
https://learn.microsoft.com/en-us/windows/win32/inputdev/about-keyboard-input#keystroke-message-flags
Definition Keys.h:12
bool transitionState
transition-state flag, 1 on keyup
Definition Keys.h:41
uint16_t repeatCount
repeat count, > 0 if several keydown messages was combined into one message
Definition Keys.h:16
KeyFlags(LPARAM lParam)
从lParam解析出各个字段
Definition Keys.h:51
bool previousKeyState
indicates whether the key that generated the keystroke message was previously up or down
Definition Keys.h:36
bool isExtendedKey
extended-key flag, 1 if scancode has 0xE0 prefix
Definition Keys.h:26
uint8_t scanCode
scan code
Definition Keys.h:21
bool contextCode
indicates whether the ALT key was down
Definition Keys.h:31