当前位置:网站首页>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、效果图如下:

边栏推荐
- Go microservice (II) - detailed introduction to protobuf
- 测试工程师如何“攻城”(下)
- 876. Intermediate node of linked list
- How to use async Awati asynchronous task processing instead of backgroundworker?
- 反射(一)
- 牛客小白月赛7 I 新建 Microsoft Office Word 文档
- Technologie de base de la programmation Shell IV
- Shell 编程核心技术《四》
- Unity给自己的脚本添加类似编辑器扩展的功能案例ContextMenu的使用
- LeetCode 赎金信 C#解答
猜你喜欢

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

MySQL数据库基本操作-DDL | 黑马程序员

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

欧拉函数

联想首次详解绿色智城数字孪生平台 破解城市双碳升级难点

使用canal配合rocketmq监听mysql的binlog日志
牛客小白月赛7 谁是神箭手

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

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

BI技巧丨权限轴
随机推荐
HDU 1372 & POJ 2243 Knight Moves(广度优先搜索)
如何使用Async-Awati异步任務處理代替BackgroundWorker?
FPGA时序约束分享01_四大步骤简述
Safer, smarter and more refined, Chang'an Lumin Wanmei Hongguang Mini EV?
There are multiple divs in the large div, which are displayed on the same line. After overflow, scroll bars are generated without line breaks
请教一下 flinksql中 除了数据统计结果是状态被保存 数据本身也是状态吗
BI技巧丨权限轴
HMM隐马尔可夫模型最详细讲解与代码实现
LM10丨余弦波动顺势网格策略
English语法_名词 - 使用
PolyFit软件介绍
Comment utiliser async awati asynchrone Task Handling au lieu de backgroundworker?
node_ Exporter deployment
Is Guoyuan futures a regular platform? Is it safe to open an account in Guoyuan futures?
1007 Maximum Subsequence Sum(25 分)(PAT甲级)
Shell programming core technology "I"
Detailed explanation of issues related to SSL certificate renewal
FTP, SFTP file transfer
与二值化阈值处理相关的OpenCV函数、方法汇总,便于对比和拿来使用
. Net ORM framework hisql practice - Chapter 2 - using hisql to realize menu management (add, delete, modify and check)