当前位置:网站首页>Utilisation de la barre de progression cbcggprogressdlgctrl utilisée par BCG
Utilisation de la barre de progression cbcggprogressdlgctrl utilisée par BCG
2022-07-04 19:37:00 【Bourgeons de printemps et Lotus d'été 728297 725】
CBCGPProgressDlgCtrlL'utilisation de la barre de progression suitMFCC'est pareil,Glisser dans le contrôle de la barre de progression,Ensuite, définissez la variable membre,CBCGPProgressDlgCtrl m_progressCtrl;
À l'endroit où il est utilisé:
m_progressCtrl.SetRange32(0, 1000);//Définir les valeurs minimales et maximales de la barre de progression
int nFirstStep = m_progressCtrl.SetStep(10);//Définir la taille de l'étape,Retour à l'étape précédente,La valeur par défaut est maximale1%
for (int x = 1; x <= 1000; x++)
{
m_progressCtrl.SetPos(x);
int a = m_progressCtrl.StepIt();//Ajouter une distance d'étape à la position d'origine,CoopérationSetStepUtiliser,Réglez la taille de l'étape avant d'utiliser ceci
}
Similaire àMFC Je n'en parlerai plus ici.
边栏推荐
- BCG 使用之CBCGPProgressDlgCtrl进度条使用
- LM10丨余弦波动顺势网格策略
- Wechat reading notes of "work, consumerism and the new poor"
- 1672. Total assets of the richest customers
- Double colon function operator and namespace explanation
- 求2的n次方
- 2014 Hefei 31st youth informatics Olympic Games (primary school group) test questions
- BCG 使用之新建向导效果
- 1007 Maximum Subsequence Sum(25 分)(PAT甲级)
- 关于判断点是否位于轮廓内的一点思考
猜你喜欢

SSRS筛选器的IN运算(即包含于)用法

English语法_名词 - 使用

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

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

Stream流

Lenovo explains in detail the green smart city digital twin platform for the first time to solve the difficulties of urban dual carbon upgrading

黑马程序员-软件测试--08阶段2-linux和数据库-23-30-进程端口相关,修改文件权限,端口号信息的获取,程序和进程相关操作,linux命令案例

Euler function

Master the use of auto analyze in data warehouse

node_ Exporter deployment
随机推荐
. Net ORM framework hisql practice - Chapter 2 - using hisql to realize menu management (add, delete, modify and check)
How test engineers "attack the city" (Part 2)
The 15th youth informatics competition in Shushan District in 2019
Swagger突然发癫
Educational Codeforces Round 22 E. Army Creation
HMM隐马尔可夫模型最详细讲解与代码实现
Master the use of auto analyze in data warehouse
How to use async Awati asynchronous task processing instead of backgroundworker?
BCG 使用之CBCGPProgressDlg进度条使用
矩阵翻转(数组模拟)
HDU 6440 2018 Chinese college student program design network competition
BCG 使用之CBCGPProgressDlgCtrl進度條使用
测试工程师如何“攻城”(下)
prometheus安装
与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
@transactional滥用导致数据源连接池耗尽问题
添加命名空间声明
1002. A+b for Polynomials (25) (PAT class a)
2019年蜀山区第十五届青少年信息学竞赛
LM10丨余弦波动顺势网格策略