当前位置:网站首页>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 這裏不再贅述
边栏推荐
- Shell 编程核心技术《三》
- HDU 6440 2018中国大学生程序设计网络选拔赛
- node_ Exporter deployment
- Specify the character set to output
- Shell programming core technology "four"
- .NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
- Oracle with as ora-00903: invalid table name multi report error
- Shell programming core technology II
- Leetcode ransom letter C # answer
- 牛客小白月赛7 F题
猜你喜欢

Introduction to polyfit software

Bi skills - permission axis

Nebula importer data import practice

"Only one trip", active recommendation and exploration of community installation and maintenance tasks

The 300th weekly match of leetcode (20220703)

与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用

The latest progress of Intel Integrated Optoelectronics Research promotes the progress of CO packaging optics and optical interconnection technology

Online sql to excel (xls/xlsx) tool

The explain statement in MySQL queries whether SQL is indexed, and several types in extra collate and summarize

Detailed explanation of the binary processing function threshold() of opencv
随机推荐
@transactional滥用导致数据源连接池耗尽问题
Educational codeforces round 22 E. Army Creation
在线文本行固定长度填充工具
1008 Elevator(20 分)(PAT甲级)
升级智能开关,“零火版”、“单火”接线方式差异有多大?
Safer, smarter and more refined, Chang'an Lumin Wanmei Hongguang Mini EV?
联想首次详解绿色智城数字孪生平台 破解城市双碳升级难点
How test engineers "attack the city" (Part 2)
Unity editor extends C to traverse all pictures in folders and subdirectories
偏移量函数及开窗函数
To sort out messy header files, I use include what you use
Personal thoughts on Architecture Design (this article will be revised and updated continuously later)
Shell 編程核心技術《四》
node_exporter部署
1011 World Cup Betting (20 分)(PAT甲级)
Wechat reading notes of "work, consumerism and the new poor"
Shell 编程核心技术《一》
牛客小白月赛7 谁是神箭手
关于判断点是否位于轮廓内的一点思考
"Only one trip", active recommendation and exploration of community installation and maintenance tasks