当前位置:网站首页>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 這裏不再贅述
边栏推荐
- Hough Transform 霍夫变换原理
- 勾股数规律(任意三个数能够满足勾股定理需要满足的条件)
- 1008 Elevator(20 分)(PAT甲级)
- Online sql to excel (xls/xlsx) tool
- 一文掌握数仓中auto analyze的使用
- HDU 6440 2018中国大学生程序设计网络选拔赛
- 92.(cesium篇)cesium楼栋分层
- Shell programming core technology "four"
- 大div中有多个div,这些div在同一行显示,溢出后产生滚动条而不换行
- Technologie de base de la programmation Shell IV
猜你喜欢

Use canal and rocketmq to listen to MySQL binlog logs

线上数据库迁移的几种方法

FPGA时序约束分享01_四大步骤简述

2022CoCa: Contrastive Captioners are Image-Text Fountion Models

The 300th weekly match of leetcode (20220703)

Explore the contour drawing function drawcontours() of OpenCV in detail with practical examples

LM10丨余弦波动顺势网格策略
Some thoughts on whether the judgment point is located in the contour

PointNeXt:通过改进的模型训练和缩放策略审视PointNet++

Wireshark网络抓包
随机推荐
PointNeXt:通过改进的模型训练和缩放策略审视PointNet++
The kth largest element in the array
Master the use of auto analyze in data warehouse
HDU 1372 & POJ 2243 Knight Moves(广度优先搜索)
876. 链表的中间结点
Online sql to excel (xls/xlsx) tool
1672. 最富有客户的资产总量
C # implementation defines a set of SQL statements that can be executed across databases in the middle of SQL (detailed explanation of the case)
MySQL数据库基本操作-DDL | 黑马程序员
How test engineers "attack the city" (Part 2)
Shell 编程核心技术《四》
生成XML元素
【问题】druid报异常sql injection violation, part alway true condition not allow 解决方案
西门子HMI下载时提示缺少面板映像解决方案
矩阵翻转(数组模拟)
YOLOv5s-ShuffleNetV2
安徽 中安在线文旅频道推出“跟着小编游安徽”系列融媒体产品
The explain statement in MySQL queries whether SQL is indexed, and several types in extra collate and summarize
牛客小白月赛7 I 新建 Microsoft Office Word 文档
2021 合肥市信息学竞赛小学组