当前位置:网站首页>BCG 使用之CBCGPProgressDlgCtrl進度條使用
BCG 使用之CBCGPProgressDlgCtrl進度條使用
2022-07-04 19:37: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 這裏不再贅述
边栏推荐
- OpenCV的二值化处理函数threshold()详解
- 牛客小白月赛7 I 新建 Microsoft Office Word 文档
- 测试工程师如何“攻城”(下)
- Jetpack Compose 教程
- In flinksql, in addition to data statistics, is the saved data itself a state
- 大div中有多个div,这些div在同一行显示,溢出后产生滚动条而不换行
- ftp、sftp文件传输
- MySQL数据库基本操作-DDL | 黑马程序员
- How test engineers "attack the city" (Part I)
- Specify the character set to output
猜你喜欢
Opencv functions and methods related to binary threshold processing are summarized for comparison and use
【问题】druid报异常sql injection violation, part alway true condition not allow 解决方案
如何使用Async-Awati异步任务处理代替BackgroundWorker?
There are multiple divs in the large div, which are displayed on the same line. After overflow, scroll bars are generated without line breaks
BCG 使用之新建向导效果
BI技巧丨权限轴
FPGA timing constraint sharing 01_ Brief description of the four steps
To sort out messy header files, I use include what you use
PointNeXt:通过改进的模型训练和缩放策略审视PointNet++
Oracle with as ora-00903: invalid table name multi report error
随机推荐
Pointnet/Pointnet++点云数据集处理并训练
Introduction to polyfit software
关于判断点是否位于轮廓内的一点思考
升级智能开关,“零火版”、“单火”接线方式差异有多大?
HDU 1372 & POJ 2243 Knight Moves(广度优先搜索)
876. 链表的中间结点
LeetCode第300场周赛(20220703)
在线SQL转Excel(xls/xlsx)工具
kotlin 条件控制
1672. 最富有客户的资产总量
LeetCode FizzBuzz C#解答
.NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
牛客小白月赛7 E Applese的超能力
26. 删除有序数组中的重复项 C#解答
联想首次详解绿色智城数字孪生平台 破解城市双碳升级难点
92.(cesium篇)cesium楼栋分层
In flinksql, in addition to data statistics, is the saved data itself a state
FPGA timing constraint sharing 01_ Brief description of the four steps
BCG 使用之CBCGPProgressDlg进度条使用
“只跑一趟”,小区装维任务主动推荐探索