#pragma once
// CLineDesign 对话框
//#include "FlyLineDataStruct.h"
// #include "ComboListCtrl.h"
// #include "InPlaceEdit.h"
#include "../Include/8BMapDLL_type.h"
using namespace B8MapDLL;

class CLineDesign : public CDialog
{
	DECLARE_DYNAMIC(CLineDesign)

public:
	CLineDesign(CWnd* pParent = NULL);   // 标准构造函数
	virtual ~CLineDesign();

// 	//2016.01.05
// 	typedef struct tmpPT
// 	{
// 		int     pt_id;               //航点号
// 		double	pt_Lon;            //航点经度
// 		double	pt_Lat;            //航点纬度
// 	};

	CListCtrl	m_list;
	//CComboListCtrl m_list;

	void ShowLonLat(double lon, double lat);

	//void InsertPt(tmpPT pData);
	void InsertPt(PtStruct pData);

	int m_nowPt;

// 对话框数据
	enum { IDD = IDD_DLG_LINEDESIGN };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg UINT OnNotifyFormat(CWnd *pWnd, UINT nCommand);
//	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
};