Data1View.h
资源名称:基本GIS系统开发.rar [点击查看]
上传用户:yklx818
上传日期:2013-04-13
资源大小:459k
文件大小:2k
源码类别:
GIS编程
开发平台:
Visual C++
- // Data1View.h : interface of the CData1View class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_DATA1VIEW_H__903C3185_60BF_4326_A7BC_72CA1D2C2751__INCLUDED_)
- #define AFX_DATA1VIEW_H__903C3185_60BF_4326_A7BC_72CA1D2C2751__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CData1Set;
- class CData1View : public CRecordView
- {
- protected: // create from serialization only
- DECLARE_DYNCREATE(CData1View);
- BOOL m_bAdding;
- public:
- //{{AFX_DATA(CData1View)
- enum { IDD = IDD_DATA1_FORM };
- CEdit m_only_id;
- CData1Set* m_pSet;
- //}}AFX_DATA
- // Attributes
- public:
- CData1Doc* GetDocument();
- CData1View();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CData1View)
- public:
- virtual CRecordset* OnGetRecordset();
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual BOOL OnMove(UINT nIDMoveCommand);
- 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);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CData1View();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CData1View)
- afx_msg void OnRecordAdd();
- afx_msg void OnRecordModify();
- afx_msg void OnRecordDelete();
- afx_msg void OnRecordFilter();
- afx_msg void OnRecordSort();
- afx_msg int OnRecordSave();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #ifndef _DEBUG // debug version in Data1View.cpp
- inline CData1Doc* CData1View::GetDocument()
- { return (CData1Doc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_DATA1VIEW_H__903C3185_60BF_4326_A7BC_72CA1D2C2751__INCLUDED_)