diarystore.h

来自「很好的日记软件,能让你认识到文件的存储的实现!」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_DIARYSTORE_H__1836F4A6_AD20_404A_B5B3_4118EBCD6F7C__INCLUDED_)
#define AFX_DIARYSTORE_H__1836F4A6_AD20_404A_B5B3_4118EBCD6F7C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DiaryStore.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CDiaryStore dialog
#define IDVIEW 0x00001

class CDiaryStore : public CDialog
{
// Construction
public:
	int FindDiary(int& nsel, POSITION& pos);
	CDiaryStore(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CDiaryStore)
	enum { IDD = IDD_DIALOG1 };
	CListCtrl	m_list;
	//}}AFX_DATA

	CDiary *ry;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CDiaryStore)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CDiaryStore)
	afx_msg void OnExtButton();
	virtual BOOL OnInitDialog();
	afx_msg void OnViewButton();
	afx_msg void OnDelallButton();
	afx_msg void OnDelselButton();
	afx_msg void OnDblclkDiaryList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_DIARYSTORE_H__1836F4A6_AD20_404A_B5B3_4118EBCD6F7C__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?