用Windows编程的术语来说,该方法创建了用于接收用户键盘鼠标输入的消息环(message loop)。如果是运行在平板PC上,程序也接收来自手写笔(stylus)的用户输入。
基于426个网页-相关网页
main message loop 主讯息循环 ; 主消息回圈
message loop map 全局的消息循环映射
Quit message loop 退出消息循环
Creating a Message Loop 创建消息循环
·2,447,543篇论文数据,部分数据来源于NoteExpress
A selector is analogous to a Windows message loop, in which the selector captures the various events from different clients and dispatches them to their respective event handlers.
选择器(selector)与Windows消息循环类似,它从不同客户机捕获各种事件并将它们分派到相应的事件处理程序。
When the main message loop is closed, the application exits.
主消息循环关闭后,应用程序将退出。
Therefore, the thread that installed the hook must have a message loop.
因此,安装钩子的线程必须有消息循环。
Ah ha, it goes into that accept portion, prints out a message, and goes back around the while loop to say try again. And it's going to keep doing this until I give it something that does serve as a float.
他会说输入一个浮点数,啊哈,它就到了那段处理代码,打印出消息,然后回到while循环让我们再输一次,它会持续这么做直到它接受到一个浮点数。
应用推荐