DialogContainerWithToolbar.IMessageFilter.PreFilterMessage(Message) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.