Application.FilterMessage(Message) Method

Definition

Runs any filters against a window message, and returns a copy of the modified message.

public:
 static bool FilterMessage(System::Windows::Forms::Message % message);
public static bool FilterMessage (ref System.Windows.Forms.Message message);
static member FilterMessage : Message -> bool
Public Shared Function FilterMessage (ByRef message As Message) As Boolean

Parameters

message
Message

The Windows event message to filter.

Returns

true if the filters were processed; otherwise, false.

Applies to