HwndSource.TranslateCharCore(MSG, ModifierKeys) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Processes WM_CHAR, WM_SYSCHAR, WM_DEADCHAR, and WM_SYSDEADCHAR input messages before the OnMnemonic(MSG, ModifierKeys) method is called.
protected:
virtual bool TranslateCharCore(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
protected virtual bool TranslateCharCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
protected virtual bool TranslateCharCore (ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member TranslateCharCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.TranslateCharCore : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member TranslateCharCore : MSG * System.Windows.Input.ModifierKeys -> bool
override this.TranslateCharCore : MSG * System.Windows.Input.ModifierKeys -> bool
Protected Overridable Function TranslateCharCore (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean
Parameters
- msg
- MSG
The message and associated data. Do not modify this structure. It is passed by reference for performance reasons only.
- modifiers
- ModifierKeys
Modifier keys.
Returns
true
if the message was processed and OnMnemonic(MSG, ModifierKeys) should not be called; otherwise, false
.
- Attributes
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應