WindowPane.PreProcessMessage(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.
Preprocesses the messages from navigation keys.
protected:
virtual bool PreProcessMessage(System::Windows::Forms::Message % m);
protected virtual bool PreProcessMessage (ref System.Windows.Forms.Message m);
abstract member PreProcessMessage : Message -> bool
override this.PreProcessMessage : Message -> bool
Protected Overridable Function PreProcessMessage (ByRef m As Message) As Boolean
Parameters
Returns
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.