ToolStripControlHost.ProcessCmdKey(Message, Keys) 方法

定义

处理命令键。

protected public:
 override bool ProcessCmdKey(System::Windows::Forms::Message % m, System::Windows::Forms::Keys keyData);
protected internal override bool ProcessCmdKey (ref System.Windows.Forms.Message m, System.Windows.Forms.Keys keyData);
override this.ProcessCmdKey : Message * System.Windows.Forms.Keys -> bool
Protected Friend Overrides Function ProcessCmdKey (ByRef m As Message, keyData As Keys) As Boolean

参数

m
Message

通过引用传递的 Message,表示要处理的窗口消息。

keyData
Keys

Keys 值之一,表示要处理的键。

返回

Boolean

在所有情况下均为 false

适用于