是否有可能执行符合doevent的事件?

是否有可能执行符合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.