viewdata.h

来自「数据库程序的作业」· C头文件 代码 · 共 56 行

H
56
字号
#if !defined(AFX_VIEWDATA_H__E2F7D28A_B976_470C_96BD_1266F7DD64A6__INCLUDED_)
#define AFX_VIEWDATA_H__E2F7D28A_B976_470C_96BD_1266F7DD64A6__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ViewData.h : header file
//
#include "afxdao.h"
#include "afxcmn.h"
/////////////////////////////////////////////////////////////////////////////
// CViewData dialog

class CViewData : public CDialog
{
// Construction
public:
	CViewData(CWnd* pParent = NULL);   // standard constructor

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


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CViewData)
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
public:
	BOOL Init();
	CDaoRecordset *m_record;
	CWnd *m_pParent;  
	CString m_caption;

};

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

#endif // !defined(AFX_VIEWDATA_H__E2F7D28A_B976_470C_96BD_1266F7DD64A6__INCLUDED_)

⌨️ 快捷键说明

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