Control.PreProcessControlMessage(Message) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在调度键盘或输入消息之前,预处理消息循环中的键盘或输入消息。
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
参数
返回
值之PreProcessControlState一,具体取决于是PreProcessMessage(Message)true还是falseIsInputKey(Keys)IsInputChar(Char)true是还是或是否。false
注解
这是直接由消息循环 Application调用的方法。