資源簡介
用MFC Grid control控件寫的一個表格,對顯示數據庫數據很有幫助.MFC Grid control版本為2.27.

代碼片段和文件信息
//?GridCtrlDemo.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“GridCtrlDemo.h“
#include?“GridCtrlDemoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CGridCtrlDemoApp
BEGIN_MESSAGE_MAP(CGridCtrlDemoApp?CWinApp)
//{{AFX_MSG_MAP(CGridCtrlDemoApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CGridCtrlDemoApp?construction
CGridCtrlDemoApp::CGridCtrlDemoApp()
{
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGridCtrlDemoApp?object
CGridCtrlDemoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CGridCtrlDemoApp?initialization
BOOL?CGridCtrlDemoApp::InitInstance()
{
//?Standard?initialization
#if?!defined(_WIN32_WCE)?&&?(_MFC_VER?0x0700)?
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
#endif
CGridCtrlDemoDlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
}
else?if?(nResponse?==?IDCANCEL)
{
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????5192??2005-12-15?21:19??NewCellTypes\GridCellCheck.cpp
?????文件???????2116??2005-12-15?21:19??NewCellTypes\GridCellCheck.h
?????文件??????13826??2005-12-15?21:19??NewCellTypes\GridCellCombo.cpp
?????文件???????4904??2005-12-15?21:38??NewCellTypes\GridCellCombo.h
?????文件???????6398??2005-12-15?21:38??NewCellTypes\GridCellDateTime.cpp
?????文件???????2615??2005-12-15?21:38??NewCellTypes\GridCellDateTime.h
?????文件???????1168??2005-12-15?21:38??NewCellTypes\GridCellNumeric.cpp
?????文件????????798??2005-12-15?21:38??NewCellTypes\GridCellNumeric.h
?????文件???????5477??2005-12-15?21:38??NewCellTypes\GridURLCell.cpp
?????文件???????1518??2005-12-15?21:38??NewCellTypes\GridURLCell.h
?????文件????????326??2001-01-02?15:27??res\cursor1.cur
?????文件???????4710??2000-12-21?01:57??res\GreyGrid.ico
?????文件???????4710??2000-12-21?01:14??res\GridCtrlDemo.ico
?????文件????????404??1998-02-04?12:31??res\GridCtrlDemo.rc2
?????文件???????1334??1999-04-11?06:41??res\smallico.bmp
?????文件????????718??1998-04-05?01:53??res\Toolbar.bmp
?????文件??????26012??2015-03-30?17:28??CGridCtrltest.jpg
?????文件???????6492??2001-01-06?09:00??GridCtrlDemo.clw
?????文件???????1572??2005-12-15?21:26??GridCtrlDemo.cpp
?????文件???????9376??2002-09-19?13:41??GridCtrlDemo.dsp
?????文件????????549??1999-01-05?23:23??GridCtrlDemo.dsw
?????文件?????139776??2010-05-07?06:53??GridCtrlDemo.exe
?????文件???????1256??1998-02-04?12:31??GridCtrlDemo.h
?????文件??????11640??2005-12-15?21:19??GridCtrlDemo.rc
?????文件???????1590??2010-05-07?06:24??GridCtrlDemo.sln
?????文件???????1546??2002-11-22?14:28??GridCtrlDemo.sln.vs2003
?????文件???????1588??2005-12-15?21:01??GridCtrlDemo.sln.vs2008
?????文件??????15887??2005-12-15?21:23??GridCtrlDemo.vcproj
?????文件??????13838??2002-12-03?12:50??GridCtrlDemo.vcproj.vs2003
?????文件??????15887??2005-12-15?21:23??GridCtrlDemo.vcproj.vs2008
............此處省略69個文件信息
評論
共有 條評論