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引发此事件。

适用于

另请参阅