MFCList可编辑列表控件


本模块是基于MFC的对话框的可编辑LIST(可编辑列表控件),希望对你的开发有帮助
资源截图
代码片段和文件信息
// CListEdit.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “CListEdit.h“
#include “CListEditDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CCListEditApp

BEGIN_MESSAGE_MAP(CCListEditApp CWinApp)
//{{AFX_MSG_MAP(CCListEditApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CCListEditApp construction

CCListEditApp::CCListEditApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}

/////////////////////////////////////////////////////////////////////////////
// The one and only CCListEditApp object

CCListEditApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CCListEditApp initialization

BOOL CCListEditApp::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

CCListEditDlg 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;
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      35912  2009-07-08 11:27  CListEditCListEdit.aps

     文件       1206  2009-07-08 11:26  CListEditCListEdit.clw

     文件       2105  2009-07-08 10:56  CListEditCListEdit.cpp

     文件       4213  2009-07-08 10:56  CListEditCListEdit.dsp

     文件        526  2009-07-08 11:28  CListEditCListEdit.dsw

     文件       1357  2009-07-08 10:56  CListEditCListEdit.h

     文件     148480  2009-07-08 11:28  CListEditCListEdit.ncb

     文件      53760  2009-07-08 11:28  CListEditCListEdit.opt

     文件        758  2009-07-08 11:27  CListEditCListEdit.plg

     文件       5451  2009-07-08 11:27  CListEditCListEdit.rc

     文件       6408  2009-07-08 11:24  CListEditCListEditDlg.cpp

     文件       1525  2009-07-08 11:22  CListEditCListEditDlg.h

     文件     106606  2009-07-08 11:27  CListEditDebugCListEdit.exe

     文件     210512  2009-07-08 11:27  CListEditDebugCListEdit.ilk

     文件      14804  2009-07-08 11:24  CListEditDebugCListEdit.obj

     文件    5494560  2009-07-08 11:05  CListEditDebugCListEdit.pch

     文件     394240  2009-07-08 11:27  CListEditDebugCListEdit.pdb

     文件       2648  2009-07-08 11:27  CListEditDebugCListEdit.res

     文件      31292  2009-07-08 11:24  CListEditDebugCListEditDlg.obj

     文件     105954  2009-07-08 11:05  CListEditDebugStdAfx.obj

     文件     214016  2009-07-08 11:27  CListEditDebugvc60.idb

     文件     364544  2009-07-08 11:24  CListEditDebugvc60.pdb

     文件       3633  2009-07-08 10:56  CListEditReadMe.txt

     文件       1078  2009-07-08 10:56  CListEdit
esCListEdit.ico

     文件        401  2009-07-08 10:56  CListEdit
esCListEdit.rc2

     文件        779  2009-07-08 11:26  CListEdit
esource.h

     文件        211  2009-07-08 10:56  CListEditStdAfx.cpp

     文件       1054  2009-07-08 10:56  CListEditStdAfx.h

     目录          0  2009-07-08 11:27  CListEditDebug

     目录          0  2009-07-08 10:56  CListEdit
es

............此处省略4个文件信息

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。

发表评论

评论列表(条)