当前位置:网站首页>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
边栏推荐
- Shell programming core technology "I"
- 与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
- FTP, SFTP file transfer
- Lenovo explains in detail the green smart city digital twin platform for the first time to solve the difficulties of urban dual carbon upgrading
- The explain statement in MySQL queries whether SQL is indexed, and several types in extra collate and summarize
- Have you guys ever used CDC direct Mysql to Clickhouse
- The 300th weekly match of leetcode (20220703)
- 如何使用Async-Awati异步任务处理代替BackgroundWorker?
- Explicit random number
- Personal thoughts on Architecture Design (this article will be revised and updated continuously later)
猜你喜欢
Several methods of online database migration
勾股数规律(任意三个数能够满足勾股定理需要满足的条件)
OpenCV的二值化处理函数threshold()详解
Summary and sorting of 8 pits of redis distributed lock
2022CoCa: Contrastive Captioners are Image-Text Fountion Models
To sort out messy header files, I use include what you use
BCG 使用之CBCGPProgressDlg进度条使用
English语法_名词 - 使用
FPGA timing constraint sharing 01_ Brief description of the four steps
The 300th weekly match of leetcode (20220703)
随机推荐
双冒号作用运算符以及命名空间详解
在线SQL转Excel(xls/xlsx)工具
基于NCF的多模块协同实例
Several methods of online database migration
kotlin 条件控制
MySQL数据库基本操作-DDL | 黑马程序员
如何使用Async-Awati异步任務處理代替BackgroundWorker?
更安全、更智能、更精致,长安Lumin完虐宏光MINI EV?
Online data migration scheme encountered in the project 1 - general idea sorting and technical sorting
QT realizes interface sliding switching effect
Some thoughts on whether the judgment point is located in the contour
求2的n次方
.NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
西门子HMI下载时提示缺少面板映像解决方案
Reflection (I)
26. Delete the duplicate item C solution in the ordered array
Educational Codeforces Round 22 E. Army Creation
联想首次详解绿色智城数字孪生平台 破解城市双碳升级难点
Pytorch学习(四)
“只跑一趟”,小区装维任务主动推荐探索