光标不可用(忙) [英] Cursor not available(busy)

查看:137
本文介绍了光标不可用(忙)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在将我的电路板中的数据写入txt文件。在我的主窗口上,当我点击开始光标变为忙碌(沙漏)时,我有两个按钮开始和停止。我再也不能点击停止按钮了。任何建议来解决这个问题???

I am writing data from my board into txt file. on my main window i have two buttons "start" and "stop" when i click on start cursor becomes busy(hourglass). And i cant click on stop button anymore. any suggestion to come out of this problem ???

推荐答案

使用工作线程传输数据,或者至少使用PeekMessage轮询你的消息队列以查看是否有任何消息。
Use a worker thread to transfer your data, or at least use PeekMessage to poll your message queue to see if there are any messages.


这篇关于光标不可用(忙)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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