Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ThreadMessageEventHandler Delegate

 

Represents the method that handles the ThreadFilterMessage and ThreadPreprocessMessage events.

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

Public Delegate Sub ThreadMessageEventHandler (
	ByRef msg As MSG,
	ByRef handled As Boolean
)

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:
© 2017 Microsoft