ThreadMessageEventHandler Delegate

 

Represents the method that handles the ThreadFilterMessage and ThreadPreprocessMessage events.

Namespace:   System.Windows.Interop
Assembly:  WindowsBase (in WindowsBase.dll)

public delegate void ThreadMessageEventHandler(
	MSG% msg,
	bool% handled
)

Parameters

msg
Type: System.Windows.Interop::MSG%

A structure with the message data.

handled
Type: System::Boolean%

true if the message was handled; otherwise, false.

.NET Framework
Available since 3.0
Return to top
Show: