IKeyboardInputSink.TranslateChar(MSG, ModifierKeys) 메서드

정의

호출되기 전에 OnMnemonic(MSG, ModifierKeys) WM_CHAR, WM_SYSCHAR, WM_DEADCHAR 및 WM_SYSDEADCHAR 입력 메시지를 처리합니다.

public:
 bool TranslateChar(System::Windows::Interop::MSG % msg, System::Windows::Input::ModifierKeys modifiers);
[System.Security.SecurityCritical]
public bool TranslateChar(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
public bool TranslateChar(ref System.Windows.Interop.MSG msg, System.Windows.Input.ModifierKeys modifiers);
[<System.Security.SecurityCritical>]
abstract member TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
abstract member TranslateChar : MSG * System.Windows.Input.ModifierKeys -> bool
Public Function TranslateChar (ByRef msg As MSG, modifiers As ModifierKeys) As Boolean

매개 변수

msg
MSG

메시지 및 연결된 데이터입니다. 이 구조를 수정하지 마세요. 성능상의 이유로만 참조로 전달됩니다.

modifiers
ModifierKeys

한정자 키입니다.

반품

true 메시지를 처리하고 호출해서는 안 되었으면 이고 OnMnemonic(MSG, ModifierKeys) , false그렇지 않으면 .입니다.

특성

설명

반환 true하도록 이 메서드를 구현하는 경우 입력 아키텍처는 해당 키 메시지를 호출 OnMnemonic 하지 않습니다.

적용 대상