資源簡介
An Extended MFC CListCtrl edit individual cells, sort headers and more.
codeproject上的不能編譯
copy過來重新編譯了一下
要的朋友可以參考下
codeproject上的不能編譯
copy過來重新編譯了一下
要的朋友可以參考下
代碼片段和文件信息
//?CListCtrlExDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CListCtrlExDemo.h“
#include?“CListCtrlExDemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CCListCtrlExDemoApp
BEGIN_MESSAGE_MAP(CCListCtrlExDemoApp?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CCListCtrlExDemoApp?construction
CCListCtrlExDemoApp::CCListCtrlExDemoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
//?The?one?and?only?CCListCtrlExDemoApp?object
CCListCtrlExDemoApp?theApp;
//?CCListCtrlExDemoApp?initialization
BOOL?CCListCtrlExDemoApp::InitInstance()
{
//?InitCommonControlsEx()?is?required?on?Windows?XP?if?an?application
//?manifest?specifies?use?of?ComCtl32.dll?version?6?or?later?to?enable
//?visual?styles.??Otherwise?any?window?creation?will?fail.
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?Set?this?to?include?all?the?common?control?classes?you?want?to?use
//?in?your?application.
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::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
//?Change?the?registry?key?under?which?our?settings?are?stored
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
CCListCtrlExDemoDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????5860??2009-02-22?17:59??CListCtrlExDemo\CListCtrlExDemo.vcproj
?????文件???????4183??2009-02-22?17:50??CListCtrlExDemo\ReadMe.txt
?????文件????????558??2009-02-22?17:50??CListCtrlExDemo\CListCtrlExDemo.h
?????文件???????2201??2009-02-22?17:50??CListCtrlExDemo\CListCtrlExDemo.cpp
?????文件???????2864??2009-02-22?17:50??CListCtrlExDemo\stdafx.h
?????文件????????215??2009-02-22?17:50??CListCtrlExDemo\stdafx.cpp
?????文件????????406??2009-02-22?17:50??CListCtrlExDemo\res\CListCtrlExDemo.rc2
?????文件??????21630??2005-12-08?14:56??CListCtrlExDemo\res\CListCtrlExDemo.ico
?????文件????????894??2009-02-22?17:50??CListCtrlExDemo\CListCtrlExDemo.sln
????..A..H.?????40350??2009-02-22?18:31??CListCtrlExDemo\CListCtrlExDemo.suo
?????文件???????1417??2009-02-22?18:31??CListCtrlExDemo\CListCtrlExDemo.vcproj.DENNISCHEN.User.user
?????文件???????5626??2009-02-22?18:14??CListCtrlExDemo\Debug\BuildLog.htm
?????文件????????588??2008-06-12?13:48??CListCtrlExDemo\MsgHook.h
?????文件??????30206??2008-07-27?11:11??CListCtrlExDemo\ListCtrlEx.cpp
?????文件???????7717??2008-07-27?00:08??CListCtrlExDemo\ListCtrlEx.h
?????文件???????4768??2008-07-15?14:10??CListCtrlExDemo\MsgHook.cpp
?????文件????????461??2009-02-22?18:02??CListCtrlExDemo\DlgColor.h
?????文件???????1053??2009-02-22?18:02??CListCtrlExDemo\DlgColor.cpp
?????文件???????1210??2009-02-22?18:05??CListCtrlExDemo\CListCtrlExDemoDlg.h
?????文件???????6478??2009-02-22?18:29??CListCtrlExDemo\Release\BuildLog.htm
?????文件???????7949??2009-02-22?18:29??CListCtrlExDemo\CListCtrlExDemoDlg.cpp
?????文件???????1054??2009-02-22?18:31??CListCtrlExDemo\Resource.h
?????文件??????59796??2009-02-22?18:31??CListCtrlExDemo\CListCtrlExDemo.aps
?????文件???????6656??2009-02-22?18:31??CListCtrlExDemo\CListCtrlExDemo.rc
?????文件??????73728??2009-02-22?18:29??CListCtrlExDemo\CListCtrlExDemo.exe
?????目錄??????????0??2009-02-22?17:50??CListCtrlExDemo\res
?????目錄??????????0??2009-02-22?17:54??CListCtrlExDemo\Debug
?????目錄??????????0??2009-02-22?18:16??CListCtrlExDemo\Release
?????目錄??????????0??2009-02-22?17:50??CListCtrlExDemo
-----------?---------??----------?-----??----
............此處省略2個文件信息
- 上一篇:C讀DXF源程序及AutoCAD中的DXF參考文件
- 下一篇:加班網上管理 單位
評論
共有 條評論