Form.ProcessKeyPreview(Message) Form.ProcessKeyPreview(Message) Form.ProcessKeyPreview(Message) Form.ProcessKeyPreview(Message) Method

定义

预览键盘消息。Previews a keyboard message.

protected:
 override bool ProcessKeyPreview(System::Windows::Forms::Message % m);
protected override bool ProcessKeyPreview (ref System.Windows.Forms.Message m);
override this.ProcessKeyPreview : Message -> bool
Protected Overrides Function ProcessKeyPreview (ByRef m As Message) As Boolean

参数

m
Message Message Message Message

通过引用传递的 Message,表示要处理的窗口消息。A Message, passed by reference, that represents the window message to process.

返回

如果消息已由控件处理,则为 true;否则为 falsetrue if the message was processed by the control; otherwise, false.

适用于

另请参阅