是否有可能执行符合doevent的事件? [英] It is possible that some event in line with doevent executed?

查看:107
本文介绍了是否有可能执行符合doevent的事件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能发生了一些符合doevent的事件?

It is possible that some event in line with doevent played?
Maybe in time you run doevent raise an event to another?

推荐答案

您的意思不是很清楚,但是我认为您在问:
当我使用DoEvents方法时,在控件返回到我的方法之前可以执行其他事件吗?"

答案是肯定的.这就是整个想法.
在此处查看MSDN [
It''s not very clear what you mean, but I think that you are asking:
"When I use the DoEvents method, can other events execute before control returns to my method?"

The answer is yes, of course. That is the whole idea.
See MSDN here[^]
However, it is not necessarily a good idea to use DoEvents to speed up the look of your form - you should consider moving slow code to a background thread instead.


这篇关于是否有可能执行符合doevent的事件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆