struct COREWEBVIEW2_PHYSICAL_KEY_STATUS
Contains the information packed into the LPARAM
sent to a Win32 key event.
Summary
Members | Descriptions |
---|---|
IsExtendedKey | Indicates that the key is an extended key. |
IsKeyReleased | Indicates that the key was released. |
IsMenuKeyDown | Indicates that a menu key is held down (context code). |
RepeatCount | Specifies the repeat count for the current message. |
ScanCode | Specifies the scan code. |
WasKeyDown | Indicates that the key was held down. |
For more information about WM_KEYDOWN
, navigate to WM_KEYDOWN message.
Applies to
Product | Introduced |
---|---|
WebView2 Win32 | N/A |
WebView2 Win32 Prerelease |
Members
IsExtendedKey
Indicates that the key is an extended key.
public BOOL IsExtendedKey
IsKeyReleased
Indicates that the key was released.
public BOOL IsKeyReleased
IsMenuKeyDown
Indicates that a menu key is held down (context code).
public BOOL IsMenuKeyDown
RepeatCount
Specifies the repeat count for the current message.
public UINT32 RepeatCount
ScanCode
Specifies the scan code.
public UINT32 ScanCode
WasKeyDown
Indicates that the key was held down.
public BOOL WasKeyDown
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應