www.pudn.com > testAccessData.rar > testDataView.h
// testDataView.h : interface of the CTestDataView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TESTDATAVIEW_H__EED62E72_93D7_4389_B9FB_3B7A4DEB4B9B__INCLUDED_)
#define AFX_TESTDATAVIEW_H__EED62E72_93D7_4389_B9FB_3B7A4DEB4B9B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTestDataView : public CFormView
{
protected: // create from serialization only
CTestDataView();
DECLARE_DYNCREATE(CTestDataView)
public:
//{{AFX_DATA(CTestDataView)
enum{ IDD = IDD_TESTDATA_FORM };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CTestDataDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestDataView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTestDataView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTestDataView)
afx_msg void OnButton1();
afx_msg void OnButton2();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in testDataView.cpp
inline CTestDataDoc* CTestDataView::GetDocument()
{ return (CTestDataDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDATAVIEW_H__EED62E72_93D7_4389_B9FB_3B7A4DEB4B9B__INCLUDED_)