ComponentDispatcher.ThreadPreprocessMessage Event

Definition

Occurs when the message pump receives a keyboard message.

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 

Event Type

Attributes

Remarks

This event should be raised after ThreadFilterMessage, if that event is not handled.

Applies to

See also