文件名称:用C++做的记事本程序
文件大小:18KB
文件格式:RAR
更新时间:2012-04-04 13:34:07
记事本
#include "stdafx.h" #include "Diary.h" #include "AllDiary.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CAllDiary dialog CAllDiary::CAllDiary(CWnd* pParent /*=NULL*/) : CDialog(CAllDiary::IDD, pParent) { //{{AFX_DATA_INIT(CAllDiary) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CAllDiary::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CAllDiary) DDX_Control(pDX, IDC_LIST_DIARY, m_list); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CAllDiary, CDialog) //{{AFX_MSG_MAP(CAllDiary) ON_BN_CLICKED(IDC_BUTTON_DEL, OnButtonDel) ON_BN_CLICKED(IDC_BUTTON_REMOVEALL, OnButtonRemoveall) ON_BN_CLICKED(ID_CANCEL, OnCancel) //}}AFX_MSG_MAP END_MESSAGE_MAP()
【文件预览】:
StdAfx.cpp
Diary.dsw
resource.h
Diary.cpp
Diary.h
Diary.dsp
diary.dia
ReadMe.txt
StdAfx.h
AllDiary.h
DiaryDlg.cpp
Diary.rc
res
----Feather2.ico(2KB)
----Diary.rc2(397B)
----Diary.ico(1KB)
----toolbar1.bmp(658B)
AllDiary.cpp
AbooutMe.cpp
DiaryDlg.h
AbooutMe.h