• 大小: 89.8 KB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2024-09-20
  • 语言: 其他
  • 标签: CListCtrl  List  Eidt  

资源简介

An Extended MFC CListCtrl edit individual cells, sort headers and more.
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个文件信息

评论

共有 条评论