⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setpoint.h

📁 GPS定位报警程序
💻 H
字号:
#if !defined(AFX_SETPOINT_H__7F227505_B4F9_469A_899B_439C831564EB__INCLUDED_)
#define AFX_SETPOINT_H__7F227505_B4F9_469A_899B_439C831564EB__INCLUDED_

//#include "GpsPointDlg.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SetPoint.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CSetPoint dialog

class CSetPoint : public CDialog
{
// Construction
public:
	void NewLateLong(double dLate,double dLong,long lJiao,double dV);
	LateLong Point[101];
	int iPoint;
	//CGpsPointDlg * pDlg;
	CSetPoint(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CSetPoint)
	enum { IDD = IDD_DIALOG_POINT };
	CStatic	m_cMsg;
	CButton	m_Delete;
	CButton	m_Cancel;
	CButton	m_AddUp;
	CListCtrl	m_ListPoint;
	CString	m_L1;
	CString	m_L2;
	CString	m_L3;
	CString	m_T1;
	CString	m_T2;
	CString	m_T3;
	CString	m_T4;
	CString	m_L4;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSetPoint)
	public:
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CSetPoint)
	virtual BOOL OnInitDialog();
	afx_msg void OnButtonSave();
	afx_msg void OnButtonExit();
	afx_msg void OnDestroy();
	afx_msg void OnButtonCancel();
	afx_msg void OnButtonAddupdate();
	afx_msg void OnButtonDelete();
	afx_msg void OnDblclkListPoint(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString ftoa(double dData);
	void ShowLateLong();
	BOOL isExist(CString strDM);
	void SavePoint();
	void LoadPoint();
	void SaveList();
	void initList();
	CString strFile;
	CString strFile1;
	int iCount;
	int idx;
};

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

#endif // !defined(AFX_SETPOINT_H__7F227505_B4F9_469A_899B_439C831564EB__INCLUDED_)

⌨️ 快捷键说明

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