Freigeben über


WindowPane.PreProcessMessage Method

Preprocesses the messages from navigation keys.

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

Syntax

'Declaration
Protected Overridable Function PreProcessMessage ( _
    ByRef m As Message _
) As Boolean
protected virtual bool PreProcessMessage(
    ref Message m
)
protected:
virtual bool PreProcessMessage(
    Message% m
)
abstract PreProcessMessage : 
        m:Message byref -> bool  
override PreProcessMessage : 
        m:Message byref -> bool
protected function PreProcessMessage(
    m : Message
) : boolean

Parameters

Return Value

Type: Boolean
true if the method was handled; otherwise, false.

Remarks

This method is called to preprocess keyboard messages before Visual Studio handles them. The default implementation calls the PreProcessControlMessage method.

You may override this if your window pane is not based on Windows Forms.

Arguments and return values are the same as for Windows Forms; that is, return true if the message was handled, false if the default processing should occur.

.NET Framework Security

See Also

Reference

WindowPane Class

Microsoft.VisualStudio.Shell Namespace