graphseiadddlg.h

来自「vc 和mapobjects地理信息系统组件开发 很有启发意义和参考价值」· C头文件 代码 · 共 85 行

H
85
字号
#if !defined(AFX_GRAPHSEIADDDLG_H__1CD74B01_2A6B_11D5_B9CB_DB16FDCF9D5C__INCLUDED_)
#define AFX_GRAPHSEIADDDLG_H__1CD74B01_2A6B_11D5_B9CB_DB16FDCF9D5C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// GraphSeiAddDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CGraphSeiAddDlg dialog

#include "engcolorsel.h"

class CGraphSeiAddDlg : public CDialog
{

// Construction
public:
	long	m_lSum;
	CArray<SMapperSeisInfo,SMapperSeisInfo>	m_Sei;
	CGraphSeiAddDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGraphSeiAddDlg)
	enum { IDD = IDD_GRAPHIC_SEISM_ADD };
	CEngColorSel	m_oColorOutline;
	CEngColorSel	m_oColorFill;
	CListCtrl	m_ctrlSeismList;
	float	m_fLat;
	float	m_fLon;
	float	m_fMag;
	float	m_fDepth;
	COleDateTime	m_Date;
	COleDateTime	m_Time;
	int		m_nSymbol;
	float	m_fCircleR;
	float	m_fCircleX;
	float	m_fCircleY;
	int		m_nSelectType;
	BOOL	m_bMagMaxUse;
	float	m_fMagMax;
	float	m_fMagMin;
	BOOL	m_bMagMinUse;
	CString	m_sPlace;
	int		m_nParaType;
	BOOL	m_bOutline;
	//}}AFX_DATA


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

// Implementation
protected:
	double jwdist(double lat0, double lon0, double lat1, double lon1);

	// Generated message map functions
	//{{AFX_MSG(CGraphSeiAddDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnClear();
	afx_msg void OnConfirm();
	afx_msg void OnClickSeismList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCatSelect();
	afx_msg void OnFileSave();
	afx_msg void OnFileLoad();
	afx_msg void OnAdd();
	afx_msg void OnDelete();
	afx_msg void OnSelAll();
	afx_msg void OnSelNone();
	afx_msg void OnSelInvert();
	afx_msg void OnUpdateSei();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GRAPHSEIADDDLG_H__1CD74B01_2A6B_11D5_B9CB_DB16FDCF9D5C__INCLUDED_)

⌨️ 快捷键说明

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