社区
C#
帖子详情
Application.Run() 消息循环
jerry_zhang99
2010-02-03 11:26:00
大家好,大家都知道关于Application.Run()开始后,后面的代码直到Application.Exit()后才能退出消息循环。
我现在的问题是,Application.Run()截获的消息范围有多大,比如说,我单独开一个Thread,在这个线程中Application.Run()会不会影响到线程之外的消息循环,请指教!
...全文
282
6
打赏
收藏
Application.Run() 消息循环
大家好,大家都知道关于Application.Run()开始后,后面的代码直到Application.Exit()后才能退出消息循环。 我现在的问题是,Application.Run()截获的消息范围有多大,比如说,我单独开一个Thread,在这个线程中Application.Run()会不会影响到线程之外的消息循环,请指教!
复制链接
扫一扫
分享
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
ddy_dhj
2010-02-03
打赏
举报
回复
我也帮忙顶一下.....
mck477
2010-02-03
打赏
举报
回复
帮LZ顶下
jerry_zhang99
2010-02-03
打赏
举报
回复
[Quote=引用 4 楼 yadongkang 的回复:]
参考:
http://school.itzcn.com/special-spid-12.html
上面讲解的比较详细,希望对楼主有所帮助。
[/Quote]
大哥,上面似乎。。。
jerry_zhang99
2010-02-03
打赏
举报
回复
[Quote=引用 3 楼 wuyq11 的回复:]
消息循环就是在当前的线程上
不同线程不影响当前消息循环
[/Quote]
刚才没看见 这么多回复啊,我先看看楼上的链接去,谢谢大哥
wuyq11
2010-02-03
打赏
举报
回复
消息循环就是在当前的线程上
不同线程不影响当前消息循环
Application
.
Run
(new Form())与new Form().Show()
Application
.
Run
()是"Begins
run
ning a standard
application
message loop on the current thread, and makes the specified form visible." 用代码可以表示为: while(GetMessage(&msg)>0) { TranslateMessage(&msg); Di
CSharp-基本原理-
Application
.
Run
()、
Application
.
Run
()、Form.ShowDialog()
Application
.
Run
()是"Begins
run
ning a standard
application
message loop on the current thread, and makes the specified form visible." 用代码可以表示为: while(GetMessage(&msg)>0) { TranslateMessage(&msg); Di
VCL中
Application
.
Run
()的过程
2005年3月15日,发布于: http://zyyang.spaces.live.com/blog/cns!193DAE30814DFA36!210.entryprocedure T
Application
.
Run
;begin F
Run
ning := True; //I am
Run
ning. try AddExitProc(Done
Application
); //Add the cur
Application
.
Run
() form.show form.showdialog
Application
.
Run
()是"Begins
run
ning a standard
application
message loop on the current thread, and makes the specified form visible." 用代码可以表示为: while(GetMessage(&msg)>0) { TranslateMessage(&msg); Di
c#
Application
.
run
和form.show区别
Application
.
run
(form):在当前线程上开始运行标准应用程序
消息
循环
,并使指定窗体可见。form.show() :使指定窗体可见;参照:https://blog.csdn.net/vividboy/article/details/1483974 转载于:https://www.cnblogs.com/gaara-zhang/p/9802854.html...
C#
111,128
社区成员
642,536
社区内容
发帖
与我相关
我的任务
C#
.NET技术 C#
复制链接
扫一扫
分享
社区描述
.NET技术 C#
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧
+ 用AI写文章