ThreadMessageEventHandler ThreadMessageEventHandler ThreadMessageEventHandler ThreadMessageEventHandler Delegate

Definición

Representa el método que controla los eventos ThreadFilterMessage y ThreadPreprocessMessage.Represents the method that handles the ThreadFilterMessage and ThreadPreprocessMessage events.

public delegate void ThreadMessageEventHandler(MSG % msg, bool % handled);
public delegate void ThreadMessageEventHandler(ref MSG msg, ref bool handled);
type ThreadMessageEventHandler = delegate of MSG * bool -> unit
Public Delegate Sub ThreadMessageEventHandler(ByRef msg As MSG, ByRef handled As Boolean)

Parámetros

msg
MSG MSG MSG MSG

Estructura con los datos del mensaje.A structure with the message data.

handled
Boolean Boolean Boolean Boolean

Es true si se ha administrado el mensaje; en caso contrario, es false.true if the message was handled; otherwise, false.

Herencia
ThreadMessageEventHandlerThreadMessageEventHandlerThreadMessageEventHandlerThreadMessageEventHandler

Métodos de extensión

GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate) GetMethodInfo(Delegate)

Obtiene un objeto que representa el método representado por el delegado especificado.Gets an object that represents the method represented by the specified delegate.

Se aplica a

Consulte también: