-
大小: 56KB文件類型: .rar金幣: 2下載: 0 次發(fā)布日期: 2021-05-25
- 語言: C/C++
- 標簽:
資源簡介
自己做設計的時候使用的一個控件,十分的強大,而且復用很簡單,很漂亮的界面

代碼片段和文件信息
//?DemoList.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“DemoList.h“
#include?“DemoListDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CDemoListApp
BEGIN_MESSAGE_MAP(CDemoListApp?CWinApp)
//{{AFX_MSG_MAP(CDemoListApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CDemoListApp?construction
CDemoListApp::CDemoListApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDemoListApp?object
CDemoListApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CDemoListApp?initialization
BOOL?CDemoListApp::InitInstance()
{
AfxEnableControlContainer();
//?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
CDemoListDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????120??2006-07-21?01:44??編程入門.url
?????文件???????1143??2009-01-16?10:23??VC6.0版本示例\DemoList\DemoList.clw
?????文件???????2091??2009-01-16?10:22??VC6.0版本示例\DemoList\DemoList.cpp
?????文件???????4463??2009-01-16?12:56??VC6.0版本示例\DemoList\DemoList.dsp
?????文件????????541??2009-01-16?10:22??VC6.0版本示例\DemoList\DemoList.dsw
?????文件???????1346??2009-01-16?10:22??VC6.0版本示例\DemoList\DemoList.h
?????文件???????5338??2009-01-16?10:23??VC6.0版本示例\DemoList\DemoList.rc
?????文件???????6004??2009-01-16?10:29??VC6.0版本示例\DemoList\DemoListDlg.cpp
?????文件???????1360??2009-01-16?10:27??VC6.0版本示例\DemoList\DemoListDlg.h
?????文件???????3249??2009-01-16?15:09??VC6.0版本示例\DemoList\HeaderCtrlCl.cpp
?????文件????????623??2009-01-15?22:06??VC6.0版本示例\DemoList\HeaderCtrlCl.h
?????文件???????8140??2009-01-16?09:59??VC6.0版本示例\DemoList\ListCtrlCl.cpp
?????文件???????1880??2009-01-16?09:53??VC6.0版本示例\DemoList\ListCtrlCl.h
?????文件???????3615??2009-01-16?10:22??VC6.0版本示例\DemoList\ReadMe.txt
?????文件???????1078??2009-01-16?10:22??VC6.0版本示例\DemoList\res\DemoList.ico
?????文件????????400??2009-01-16?10:22??VC6.0版本示例\DemoList\res\DemoList.rc2
?????文件????????686??2009-01-16?10:23??VC6.0版本示例\DemoList\Resource.h
?????文件????????210??2009-01-16?10:22??VC6.0版本示例\DemoList\StdAfx.cpp
?????文件???????1054??2009-01-16?10:22??VC6.0版本示例\DemoList\StdAfx.h
?????文件???????1675??2009-01-15?11:28??VS2005版本示例\DemoList\DemoList\DemoList.cpp
?????文件????????453??2009-01-15?11:28??VS2005版本示例\DemoList\DemoList\DemoList.h
?????文件???????5100??2009-01-15?14:25??VS2005版本示例\DemoList\DemoList\DemoList.rc
?????文件???????5747??2009-01-15?11:39??VS2005版本示例\DemoList\DemoList\DemoList.vcproj
?????文件???????1427??2009-01-16?12:55??VS2005版本示例\DemoList\DemoList\DemoList.vcproj.4437C6B49E6A4C6.Administrator.user
?????文件???????1427??2009-01-15?23:50??VS2005版本示例\DemoList\DemoList\DemoList.vcproj.C7E6AB63C40D441.Administrator.user
?????文件???????4864??2009-01-16?10:07??VS2005版本示例\DemoList\DemoList\DemoListDlg.cpp
?????文件????????647??2009-01-15?14:19??VS2005版本示例\DemoList\DemoList\DemoListDlg.h
?????文件???????3249??2009-01-16?15:09??VS2005版本示例\DemoList\DemoList\HeaderCtrlCl.cpp
?????文件????????623??2009-01-15?22:06??VS2005版本示例\DemoList\DemoList\HeaderCtrlCl.h
?????文件???????8140??2009-01-16?09:59??VS2005版本示例\DemoList\DemoList\ListCtrlCl.cpp
............此處省略24個文件信息
- 上一篇:MFCC參數(shù)提取的matlab實現(xiàn)
- 下一篇:GDI+SDK
評論
共有 條評論