共用方式為


Control.PreProcessControlMessage(Message) 方法

定義

先於訊息迴圈中前置處理鍵盤或輸入訊息後,再分派這些訊息。

public:
 System::Windows::Forms::PreProcessControlState PreProcessControlMessage(System::Windows::Forms::Message % msg);
public System.Windows.Forms.PreProcessControlState PreProcessControlMessage (ref System.Windows.Forms.Message msg);
member this.PreProcessControlMessage : Message -> System.Windows.Forms.PreProcessControlState
Public Function PreProcessControlMessage (ByRef msg As Message) As PreProcessControlState

參數

msg
Message

Message,表示要處理的訊息。

傳回

PreProcessControlState

其中一個 PreProcessControlState 值,取決於 PreProcessMessage(Message)truefalse,以及 IsInputKey(Keys)IsInputChar(Char)truefalse

適用於