編輯

共用方式為


Form.ProcessKeyPreview(Message) Method

Definition

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

Parameters

m
Message

A Message, passed by reference, that represents the window message to process.

Returns

true if the message was processed by the control; otherwise, false.

Applies to

See also