Share via


DialogContainerWithToolbar.IMessageFilter.PreFilterMessage Method

Filters mouse messages before they are dispatched.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Private Function PreFilterMessage ( _
    ByRef m As Message _
) As Boolean Implements IMessageFilter.PreFilterMessage
bool IMessageFilter.PreFilterMessage(
    ref Message m
)
private:
virtual bool PreFilterMessage(
    Message% m
) sealed = IMessageFilter::PreFilterMessage
private abstract PreFilterMessage : 
        m:Message byref -> bool  
private override PreFilterMessage : 
        m:Message byref -> bool
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
true if the message was filtered and not dispatched, false if it was dispatched.

Implements

IMessageFilter.PreFilterMessage(Message%)

Remarks

Makes a call to ProcessMouseActivationModal to process mouse messages.

.NET Framework Security

See Also

Reference

DialogContainerWithToolbar Class

Microsoft.VisualStudio.Shell Namespace