MapFormView.h
上传用户:hzwailv
上传日期:2010-01-09
资源大小:405k
文件大小:2k
- //{{AFX_INCLUDES()
- #include "msflexgrid.h"
- //}}AFX_INCLUDES
- #if !defined(AFX_MAPFORMVIEW_H__306871C4_6EBA_11D3_92B5_0000E826141B__INCLUDED_)
- #define AFX_MAPFORMVIEW_H__306871C4_6EBA_11D3_92B5_0000E826141B__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // MapFormView.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CMapFormView form view
- #ifndef __AFXEXT_H__
- #include <afxext.h>
- #endif
- class CMapFormView : public CFormView
- {
- protected:
- CMapFormView(); // protected constructor used by dynamic creation
- DECLARE_DYNCREATE(CMapFormView)
- // Form Data
- public:
- //{{AFX_DATA(CMapFormView)
- enum { IDD = IDD_GRID_FORMVIEW };
- CMSFlexGrid m_ctrlGrid;
- //}}AFX_DATA
- // Attributes
- public:
- // Operations
- public:
- BOOL IsInDataSet(CString strName);
- void WriteRows(int x,int y,int cols,CString str);
- void AddFormData();
- CMapX* m_pCtrlMapX;
- CMapView* m_pMapView;
- CString m_strEditLayer;
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMapFormView)
- public:
- virtual void OnInitialUpdate();
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- virtual ~CMapFormView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- // Generated message map functions
- //{{AFX_MSG(CMapFormView)
- afx_msg void OnSize(UINT nType, int cx, int cy);
- afx_msg void OnDestroy();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_MAPFORMVIEW_H__306871C4_6EBA_11D3_92B5_0000E826141B__INCLUDED_)