DialogContainerWithToolbar.IMessageFilter.PreFilterMessage(Message) Method

Definition

Filters mouse messages before they are dispatched.

 virtual bool System.Windows.Forms.IMessageFilter.PreFilterMessage(System::Windows::Forms::Message % m) = System::Windows::Forms::IMessageFilter::PreFilterMessage;
bool IMessageFilter.PreFilterMessage (ref System.Windows.Forms.Message m);
abstract member System.Windows.Forms.IMessageFilter.PreFilterMessage : Message -> bool
override this.System.Windows.Forms.IMessageFilter.PreFilterMessage : Message -> bool
Function PreFilterMessage (ByRef m As Message) As Boolean Implements IMessageFilter.PreFilterMessage

Parameters

m
Message

A message from the toolbar.

Returns

true if the message was filtered and not dispatched, false if it was dispatched.

Implements

Remarks

Makes a call to ProcessMouseActivationModal to process mouse messages.

Applies to