当前位置:网站首页>BCG 使用之CBCGPProgressDlg进度条使用
BCG 使用之CBCGPProgressDlg进度条使用
2022-07-04 18:32:00 【春蕾夏荷_728297725】
1、代码如下所示
CBCGPProgressDlg dlg;
CBCGPProgressDlgParams params;
params.m_nRangeMax = 0;
params.m_nRangeMax = 10000;
params.m_strCaption = L"进度条标题";
params.m_strMessage = L"测试";
params.m_strMessage2 = L"测试1";
dlg.Create(params, theApp.GetMainWnd());
for (int nIndex = 0; nIndex < 10000; nIndex++)
{
if (dlg.IsCancelled())
{
}
dlg.SetPos(nIndex);
}
2、效果图如下:

边栏推荐
- 求2的n次方
- 性能优化之关键渲染路径
- .NET ORM框架HiSql实战-第二章-使用Hisql实现菜单管理(增删改查)
- The CDC of sqlserver can read the data for the first time, but it can't read the data after adding, deleting and modifying. What's the reason
- Use canal and rocketmq to listen to MySQL binlog logs
- Online sql to excel (xls/xlsx) tool
- PolyFit软件介绍
- Shell 编程核心技术《二》
- 基于NCF的多模块协同实例
- Introduction to polyfit software
猜你喜欢

Hough transform Hough transform principle

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

Opencv functions and methods related to binary threshold processing are summarized for comparison and use

How to use async Awati asynchronous task processing instead of backgroundworker?

Upgrade the smart switch, how much is the difference between the "zero fire version" and "single fire" wiring methods?

升级智能开关,“零火版”、“单火”接线方式差异有多大?

Pytorch学习(四)

Stream stream

PolyFit软件介绍

Mysql database basic operation -ddl | dark horse programmer
随机推荐
Shell 编程核心技术《四》
PointNeXt:通过改进的模型训练和缩放策略审视PointNet++
《看完就懂系列》字符串截取方法substr() 、 slice() 和 substring()之间的区别和用法
在线SQL转Excel(xls/xlsx)工具
Oracle with as ora-00903: invalid table name multi report error
1005 Spell It Right(20 分)(PAT甲级)
与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
双冒号作用运算符以及命名空间详解
socket编程demo二
1672. Total assets of the richest customers
OpenCV的二值化处理函数threshold()详解
LM10丨余弦波动顺势网格策略
在线文本行固定长度填充工具
Is Guoyuan futures a regular platform? Is it safe to open an account in Guoyuan futures?
92.(cesium篇)cesium楼栋分层
To sort out messy header files, I use include what you use
反射(一)
FTP, SFTP file transfer
Nebula importer data import practice
@transactional滥用导致数据源连接池耗尽问题