Menu.ProcessCmdKey(Message, Keys) Menu.ProcessCmdKey(Message, Keys) Menu.ProcessCmdKey(Message, Keys) Menu.ProcessCmdKey(Message, Keys) Method

定義

コマンド キーを処理します。Processes a command key.

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

パラメーター

msg
Message Message Message Message

処理するウィンドウ メッセージを表す、参照渡しされた MessageA Message, passed by reference that represents the window message to process.

keyData
Keys Keys Keys Keys

処理するキーを表す Keys 値の 1 つ。One of the Keys values that represents the key to process.

戻り値

文字がコントロールによって処理された場合は true。それ以外の場合は falsetrue if the character was processed by the control; otherwise, false.

適用対象