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 :  * System.Windows.Input.ModifierKeys -> bool
override this.TranslateCharCore :  * 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 keys.

傳回

一律傳回 falseAlways returns false.

適用於

另請參閱