mapformview.h

来自「实现GPS导航的基本功能」· C头文件 代码 · 共 76 行

H
76
字号
//{{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_)

⌨️ 快捷键说明

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