#pragma once
#include "Resource.h"

// CDlgDemAlt 对话框

class CDlgDemAlt : public CBCGPDialog
{
	DECLARE_DYNAMIC(CDlgDemAlt)

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

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

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

	DECLARE_MESSAGE_MAP()

public:
	virtual BOOL OnInitDialog();

public:
	CBCGPChartCtrl	m_wndChart;
	CBCGPChartVisualObject* pChart;

	CBCGPChartAxis* pXAxis;
	CBCGPChartAxis* pYAxis;

	CBCGPChartSeries* pSeries1;
	CBCGPChartSeries* pSeries2;
	
	void DrawDemAltBetweenPts(double* ptLon, double* ptLat, int ptNumber);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClose();
};