当前位置:网站首页>BCG 使用之CBCGPProgressDlgCtrl进度条使用
BCG 使用之CBCGPProgressDlgCtrl进度条使用
2022-07-04 18:32:00 【春蕾夏荷_728297725】
CBCGPProgressDlgCtrl进度条的使用跟MFC一样,拖入进度条控件,然后定义成员变量,CBCGPProgressDlgCtrl m_progressCtrl;
在使用的位置处:
m_progressCtrl.SetRange32(0, 1000);//设置进度条的最小值和最大值
int nFirstStep = m_progressCtrl.SetStep(10);//设置步长,返回原来步长,默认是最大值的1%
for (int x = 1; x <= 1000; x++)
{
m_progressCtrl.SetPos(x);
int a = m_progressCtrl.StepIt();//在原位置上增加一个步长距离,配合SetStep使用,先设置步长才能使用这个
}
类似于MFC 这里不再赘述
边栏推荐
- Online sql to excel (xls/xlsx) tool
- To sort out messy header files, I use include what you use
- Pytorch学习(四)
- Don't just learn Oracle and MySQL!
- 1005 Spell It Right(20 分)(PAT甲级)
- HDU 6440 2018中国大学生程序设计网络选拔赛
- 与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
- Shell 编程核心技术《四》
- Educational codeforces round 22 E. Army Creation
- 请教一下 flinksql中 除了数据统计结果是状态被保存 数据本身也是状态吗
猜你喜欢

BI技巧丨权限轴

Lenovo explains in detail the green smart city digital twin platform for the first time to solve the difficulties of urban dual carbon upgrading

HMM隐马尔可夫模型最详细讲解与代码实现

How to use async Awati asynchronous task processing instead of backgroundworker?

Upgrade the smart switch, how much is the difference between the "zero fire version" and "single fire" wiring methods?

Opencv functions and methods related to binary threshold processing are summarized for comparison and use

更安全、更智能、更精致,长安Lumin完虐宏光MINI EV?

Safer, smarter and more refined, Chang'an Lumin Wanmei Hongguang Mini EV?

升级智能开关,“零火版”、“单火”接线方式差异有多大?

Oracle with as ora-00903: invalid table name multi report error
随机推荐
26. Delete the duplicate item C solution in the ordered array
To sort out messy header files, I use include what you use
有关架构设计的个人思考(本文后续不断修改更新)
LeetCode第300场周赛(20220703)
"Only one trip", active recommendation and exploration of community installation and maintenance tasks
HDU 1372 & POJ 2243 Knight Moves(广度优先搜索)
Guys, for help, I use MySQL CDC 2.2.1 (Flink 1.14.5) to write Kafka and set
node_ Exporter deployment
Shell 編程核心技術《四》
The kth largest element in the array
Detailed explanation of issues related to SSL certificate renewal
C # implementation defines a set of SQL statements that can be executed across databases in the middle of SQL (detailed explanation of the case)
Functional interface
牛客小白月赛7 I 新建 Microsoft Office Word 文档
92.(cesium篇)cesium楼栋分层
爬虫(6) - 网页数据解析(2) | BeautifulSoup4在爬虫中的使用
Is it safe to open an account at Great Wall Securities? How to open an account when buying stocks
升级智能开关,“零火版”、“单火”接线方式差异有多大?
HMM隐马尔可夫模型最详细讲解与代码实现
2021 Hefei informatics competition primary school group