資源簡介
漂亮的進度條,可以選擇顏色調節。使用了重繪技術。從別人那里下載的,感覺不錯

代碼片段和文件信息
//?ProgressBarTest.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ProgressBarTest.h“
#include?“ProgressBarTestDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CProgressBarTestApp
BEGIN_MESSAGE_MAP(CProgressBarTestApp?CWinApp)
//{{AFX_MSG_MAP(CProgressBarTestApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CProgressBarTestApp?construction
CProgressBarTestApp::CProgressBarTestApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CProgressBarTestApp?object
CProgressBarTestApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CProgressBarTestApp?initialization
BOOL?CProgressBarTestApp::InitInstance()
{
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CProgressBarTestDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????18730??2000-03-29?09:42??Progbar\Drawgdix.h
?????文件???????3394??2000-08-03?22:38??Progbar\MemDC.h
?????文件???????2156??2000-08-03?13:28??Progbar\ProgressBarTest.cpp
?????文件???????4576??2000-08-04?17:37??Progbar\ProgressBarTest.dsp
?????文件????????553??2000-08-03?20:32??Progbar\ProgressBarTest.dsw
?????文件???????1423??2000-08-03?13:28??Progbar\ProgressBarTest.h
?????文件????????264??2005-11-03?14:58??Progbar\ProgressBarTest.plg
?????文件???????7803??2000-08-04?18:15??Progbar\ProgressBarTest.rc
?????文件??????19267??2000-08-04?18:21??Progbar\ProgressBarTestDlg.cpp
?????文件???????2602??2000-08-04?18:16??Progbar\ProgressBarTestDlg.h
?????文件??????13711??2000-08-04?17:06??Progbar\ProgressCtrlX.cpp
?????文件???????6250??2000-08-05?10:25??Progbar\ProgressCtrlX.h
?????文件????????150??2000-08-03?16:02??Progbar\res\bitmap1.bmp
?????文件???????1078??2000-08-03?13:32??Progbar\res\ProgressBarTest.ico
?????文件???????2164??2000-08-04?18:15??Progbar\resource.h
?????文件????????217??2000-08-03?13:28??Progbar\StdAfx.cpp
?????文件????????999??2000-08-03?13:28??Progbar\StdAfx.h
?????目錄??????????0??2011-07-07?14:39??Progbar\res
?????目錄??????????0??2011-07-07?14:39??Progbar
-----------?---------??----------?-----??----
????????????????85337????????????????????19
- 上一篇:MFC 動態曲線 支持縮放
- 下一篇:CryptoAPI代碼
評論
共有 條評論