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)true 还是 false,以及 IsInputKey(Keys)IsInputChar(Char)true 还是 false

适用于