HwndHost.TranslateCharCore(MSG, ModifierKeys) HwndHost.TranslateCharCore(MSG, ModifierKeys) HwndHost.TranslateCharCore(MSG, ModifierKeys) HwndHost.TranslateCharCore(MSG, ModifierKeys) Method

定義

先處理 WM_CHAR、WM_SYSCHAR、WM_DEADCHAR 和 WM_SYSDEADCHAR 輸入訊息,接著呼叫 OnMnemonic(MSG, ModifierKeys) 方法。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);
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

參數

msg
MSG MSG MSG MSG

訊息及相關聯資料。The message and associated data. 請勿修改這個結構。Do not modify this structure. 參考僅基於效能考量而傳送它。It is passed by reference for performance reasons only.

modifiers
ModifierKeys ModifierKeys ModifierKeys ModifierKeys

輔助按鍵 (Modifier Key)。Modifier keys.

傳回

一律傳回 falseAlways returns false.

適用於

另請參閱