Sdílet prostřednictvím


WindowPane.PreProcessMessage(Message) Method

Definition

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

m
Message

The Message.

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.

Applies to