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.

40 lines
960 B
C++

#pragma once
#include "Resource.h"
#include "afxwin.h"
#include "BtnST.h"
#include "Globe.h"
// UAVSelectDlg 对话框
class UAVSelectDlg : public CDialogEx
{
DECLARE_DYNAMIC(UAVSelectDlg)
public:
UAVSelectDlg(int uavFlag, CWnd* pParent = NULL); // 标准构造函数
virtual ~UAVSelectDlg();
void SetSelStatus(bool b);
// 对话框数据
enum { IDD = IDD_DIALOG_BUTTON };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedRadioUav2();
virtual BOOL OnInitDialog();
public:
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnBnClickedButton1();
afx_msg void OnBnClickedButtonUav1();
virtual BOOL OnWndMsg(UINT message, WPARAM wParam, LPARAM lParam, LRESULT* pResult);
private:
CButtonST m_uavBtn;
int m_uavFlag; //标记123号飞机
protected:
afx_msg LRESULT OnSleUav(WPARAM wParam, LPARAM lParam);
};