共用方式為


ComponentDispatcher.ThreadPreprocessMessage 事件

定義

當訊息幫浦收到鍵盤訊息時發生。

public:
 static event System::Windows::Interop::ThreadMessageEventHandler ^ ThreadPreprocessMessage;
[add: System.Security.SecurityCritical]
[remove: System.Security.SecurityCritical]
public static event System.Windows.Interop.ThreadMessageEventHandler ThreadPreprocessMessage;
public static event System.Windows.Interop.ThreadMessageEventHandler ThreadPreprocessMessage;
[<add: System.Security.SecurityCritical>]
[<remove: System.Security.SecurityCritical>]
member this.ThreadPreprocessMessage : System.Windows.Interop.ThreadMessageEventHandler 
member this.ThreadPreprocessMessage : System.Windows.Interop.ThreadMessageEventHandler 
Public Shared Custom Event ThreadPreprocessMessage As ThreadMessageEventHandler 

事件類型

屬性

備註

如果未處理該事件,則應該在 之後 ThreadFilterMessage 引發此事件。

適用於

另請參閱