资源简介
ListControl,重写ListControl控件类,可以根据自己的需要修改控件表头颜色。在VC6.0下调试成功。
代码片段和文件信息
// 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 3249 2009-01-16 15:09 ListCtrl\HeaderCtrlCl.cpp
文件 623 2009-01-15 22:06 ListCtrl\HeaderCtrlCl.h
文件 8140 2009-01-16 09:59 ListCtrl\ListCtrlCl.cpp
文件 1880 2009-01-16 09:53 ListCtrl\ListCtrlCl.h
文件 1143 2009-01-16 10:23 Demo(VC6.0)\DemoList\DemoList.clw
文件 2091 2009-01-16 10:22 Demo(VC6.0)\DemoList\DemoList.cpp
文件 4463 2009-01-16 12:56 Demo(VC6.0)\DemoList\DemoList.dsp
文件 541 2009-01-16 10:22 Demo(VC6.0)\DemoList\DemoList.dsw
文件 1346 2009-01-16 10:22 Demo(VC6.0)\DemoList\DemoList.h
文件 5338 2009-01-16 10:23 Demo(VC6.0)\DemoList\DemoList.rc
文件 6004 2009-01-16 10:29 Demo(VC6.0)\DemoList\DemoListDlg.cpp
文件 1360 2009-01-16 10:27 Demo(VC6.0)\DemoList\DemoListDlg.h
文件 3249 2009-01-16 15:09 Demo(VC6.0)\DemoList\HeaderCtrlCl.cpp
文件 623 2009-01-15 22:06 Demo(VC6.0)\DemoList\HeaderCtrlCl.h
文件 8140 2009-01-16 09:59 Demo(VC6.0)\DemoList\ListCtrlCl.cpp
文件 1880 2009-01-16 09:53 Demo(VC6.0)\DemoList\ListCtrlCl.h
文件 3615 2009-01-16 10:22 Demo(VC6.0)\DemoList\ReadMe.txt
文件 1078 2009-01-16 10:22 Demo(VC6.0)\DemoList\res\DemoList.ico
文件 400 2009-01-16 10:22 Demo(VC6.0)\DemoList\res\DemoList.rc2
文件 686 2009-01-16 10:23 Demo(VC6.0)\DemoList\Resource.h
文件 210 2009-01-16 10:22 Demo(VC6.0)\DemoList\StdAfx.cpp
文件 1054 2009-01-16 10:22 Demo(VC6.0)\DemoList\StdAfx.h
目录 0 2018-04-06 14:33 Demo(VC6.0)\DemoList\res
目录 0 2018-04-06 14:33 Demo(VC6.0)\DemoList
目录 0 2018-04-06 14:33 ListCtrl
目录 0 2018-04-06 14:33 Demo(VC6.0)
----------- --------- ---------- ----- ----
57113 26
- 上一篇:打砖块游戏
- 下一篇:TMS320f28035 eCAN 主机从机通信测试
评论
共有 条评论