当前位置:网站首页>Cbcgpprogressdlgctrl progress bar used by BCG
Cbcgpprogressdlgctrl progress bar used by BCG
2022-07-04 19:37:00 【Spring buds and summer lotus_ seven hundred and twenty-eight mi】
CBCGPProgressDlgCtrl The use of progress bar is similar to MFC equally , Drag the progress bar control , Then define the member variables ,CBCGPProgressDlgCtrl m_progressCtrl;
At the place of use :
m_progressCtrl.SetRange32(0, 1000);// Set the minimum and maximum values of the progress bar
int nFirstStep = m_progressCtrl.SetStep(10);// Set step size , Return to the original step size , The default is the maximum 1%
for (int x = 1; x <= 1000; x++)
{
m_progressCtrl.SetPos(x);
int a = m_progressCtrl.StepIt();// Add a step distance to the original position , coordination SetStep Use , Set the step size before using this
}
Be similar to MFC No more details here
边栏推荐
- 项目中遇到的线上数据迁移方案1---总体思路整理和技术梳理
- Shell 编程核心技术《三》
- 2014 Hefei 31st youth informatics Olympic Games (primary school group) test questions
- LeetCode FizzBuzz C#解答
- BCG 使用之CBCGPProgressDlg进度条使用
- The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology
- Master the use of auto analyze in data warehouse
- How to use async Awati asynchronous task processing instead of backgroundworker?
- 爬虫(6) - 网页数据解析(2) | BeautifulSoup4在爬虫中的使用
- Educational Codeforces Round 22 E. Army Creation
猜你喜欢
牛客小白月赛7 谁是神箭手
Wireshark网络抓包
用实际例子详细探究OpenCV的轮廓绘制函数drawContours()
The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology
联想首次详解绿色智城数字孪生平台 破解城市双碳升级难点
MySQL数据库基本操作-DDL | 黑马程序员
BI技巧丨权限轴
Some thoughts on whether the judgment point is located in the contour
【问题】druid报异常sql injection violation, part alway true condition not allow 解决方案
线上数据库迁移的几种方法
随机推荐
.NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
How to use async Awati asynchronous task processing instead of backgroundworker?
Socket programming demo II
与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
升级智能开关,“零火版”、“单火”接线方式差异有多大?
mysql中explain语句查询sql是否走索引,extra中的几种类型整理汇总
Oracle with as ORA-00903: invalid table name 多表报错
HDU 6440 2018中国大学生程序设计网络选拔赛
Shell 编程核心技术《一》
用实际例子详细探究OpenCV的轮廓绘制函数drawContours()
BCG 使用之CBCGPProgressDlgCtrl进度条使用
如何使用Async-Awati异步任務處理代替BackgroundWorker?
2022CoCa: Contrastive Captioners are Image-Text Fountion Models
2014 Hefei 31st youth informatics Olympic Games (primary school group) test questions
Summary and sorting of 8 pits of redis distributed lock
Personal thoughts on Architecture Design (this article will be revised and updated continuously later)
在线SQL转Excel(xls/xlsx)工具
函数式接口
牛客小白月赛7 谁是神箭手
Qt实现界面滑动切换效果