• 大小: 146KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-03
  • 标签: MFC  进度条  mfc进度条  

资源简介

非常漂亮的MFC进度条程序,封装成了类,可直接调用,用VS2013编译,编译器版本低的,可参考demo,调用封装的进度条类自己实现

资源截图

代码片段和文件信息

// GradientProgressCtrl.cpp : implementation file
#include “stdafx.h“
#include “GradientProgressCtrl.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CGradientProgressCtrl

CGradientProgressCtrl::CGradientProgressCtrl()
{
//初始化
m_nLower = 0;
m_nUpper = 100;
m_nCurrentPosition = 0;
m_nStep = 10;

//m_clrStart = COLORREF(RGB(247 12834));
//m_clrEnd =  COLORREF(RGB(4523586));
//m_clrBkGround = ::GetSysColor(COLOR_3DFACE);
//m_clrText = COLORREF(RGB(95 60 119));
// 
m_clrStart = COLORREF(RGB(219 253255));
m_clrEnd =  COLORREF(RGB(00205));
m_clrBkGround = ::GetSysColor(COLOR_3DFACE);
m_clrText = COLORREF(RGB(9

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-09-21 14:35  MFCApplication5\
     文件          88  2015-07-03 10:44  MFCApplication5\desktop.ini
     目录           0  2015-09-21 14:35  MFCApplication5\MFCApplication5\
     文件         912  2015-06-09 11:43  MFCApplication5\MFCApplication5.sln
     文件       32768  2015-06-09 17:31  MFCApplication5\MFCApplication5.v11.suo
     文件       32768  2015-09-21 14:34  MFCApplication5\MFCApplication5.v12.suo
     文件        4333  2015-06-09 16:50  MFCApplication5\MFCApplication5\GradientProgressCtrl.cpp
     文件        2210  2015-06-09 11:48  MFCApplication5\MFCApplication5\GradientProgressCtrl.h
     文件        1747  2015-06-09 13:25  MFCApplication5\MFCApplication5\MemDC.h
     文件      108832  2015-06-09 13:36  MFCApplication5\MFCApplication5\MFCApplication5.aps
     文件        2485  2015-06-09 11:43  MFCApplication5\MFCApplication5\MFCApplication5.cpp
     文件         496  2015-06-09 11:43  MFCApplication5\MFCApplication5\MFCApplication5.h
     文件       10694  2015-06-09 13:36  MFCApplication5\MFCApplication5\MFCApplication5.rc
     文件        6354  2015-09-21 14:34  MFCApplication5\MFCApplication5\MFCApplication5.vcxproj
     文件        2401  2015-06-09 11:49  MFCApplication5\MFCApplication5\MFCApplication5.vcxproj.filters
     文件         164  2015-06-09 11:57  MFCApplication5\MFCApplication5\MFCApplication5.vcxproj.user
     文件        4563  2015-06-09 13:57  MFCApplication5\MFCApplication5\MFCApplication5Dlg.cpp
     文件         837  2015-06-09 13:37  MFCApplication5\MFCApplication5\MFCApplication5Dlg.h
     文件        4188  2015-06-09 11:43  MFCApplication5\MFCApplication5\ReadMe.txt
     目录           0  2015-06-09 11:43  MFCApplication5\MFCApplication5\res\
     文件        1432  2015-06-09 13:34  MFCApplication5\MFCApplication5\resource.h
     文件       67777  2012-01-11 01:22  MFCApplication5\MFCApplication5\res\MFCApplication5.ico
     文件         686  2015-06-09 11:43  MFCApplication5\MFCApplication5\res\MFCApplication5.rc2
     文件         148  2015-06-09 11:43  MFCApplication5\MFCApplication5\stdafx.cpp
     文件        1578  2015-06-09 11:43  MFCApplication5\MFCApplication5\stdafx.h
     文件         234  2015-06-09 11:43  MFCApplication5\MFCApplication5\targetver.h

评论

共有 条评论