当前位置:网站首页>Cbcgpprogressdlg progress bar used by BCG

Cbcgpprogressdlg progress bar used by BCG

2022-07-04 19:37:00 Spring buds and summer lotus_ seven hundred and twenty-eight mi

1、 The code is as follows

CBCGPProgressDlg dlg;
    CBCGPProgressDlgParams params;
    params.m_nRangeMax = 0;
    params.m_nRangeMax = 10000;
    params.m_strCaption = L" Progress bar title ";
    params.m_strMessage = L" test ";
    params.m_strMessage2 = L" test 1";
    dlg.Create(params, theApp.GetMainWnd());
    for (int nIndex = 0; nIndex < 10000; nIndex++)
    {
        if (dlg.IsCancelled())
        {
        }
        dlg.SetPos(nIndex);
    }

2、 The renderings are as follows :

 

原网站

版权声明
本文为[Spring buds and summer lotus_ seven hundred and twenty-eight mi]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/185/202207041806393212.html