You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
920 B
C

2 years ago
#pragma once
#include "resource.h"
// CTargetDlg <20>Ի<EFBFBD><D4BB><EFBFBD>
class CTargetDlg : public CDialogEx
{
DECLARE_DYNAMIC(CTargetDlg)
public:
CTargetDlg(CWnd* pParent = NULL); // <20><>׼<EFBFBD><D7BC><EFBFBD><EFBFBD><ECBAAF>
virtual ~CTargetDlg();
void SetTargetCount(int count);
void SetExistFlag(int id,bool b);
void GetTargetLLA(int &id,double &lon,double &lat,double &alt);
// <20>Ի<EFBFBD><D4BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
enum { IDD = IDD_DIALOG_TARGET };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV ֧<><D6A7>
DECLARE_MESSAGE_MAP()
private:
int m_targetID;
double m_targetLon;
double m_targetLat;
double m_targetAlt;
int m_targetCount;
bool m_bExistFlags[255];
public:
virtual BOOL OnInitDialog();
afx_msg void OnBnClickedButtonAddTarget();
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnBnClickedButtonSelectTarget();
void ShowPointPosition(double ptLon, double ptLat);
};