更新状态栏n VC 6.0 [英] updating status bars n VC 6.0

查看:129
本文介绍了更新状态栏n VC 6.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想定期更新状态栏窗格中的文本.我所见过的有关该主题的所有内容都表示必须使用更新处理程序来完成.我这样做了,但不幸的是,文本仅在用户操作(例如移动鼠标)时更新.有谁知道没有更新处理程序的情况下更新文本的方法,或者如果没有,怎么知道没有任何用户操作的情况下如何更新文本?在此先感谢您.

I would like to update the text in a pane in the status bar periodically. Everything I''ve seen regarding this subject says it has to be done with an update handler. I did that but unfortunately the text only updates on a user action, like moving the mouse. Does anyone know of a way to update the text without an update handler, or if not, how to update the text without any user actions? Thanks in advance.

推荐答案

您可以使用计时器定期更新状态文本. SetTimer [
You can use timer to periodically update the status text; SetTimer[^] will create one timer and in it''s OnTimer event you can update the status text.


这篇关于更新状态栏n VC 6.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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