37 lines
769 B
C++
37 lines
769 B
C++
#pragma once
|
|
#include "afxdialogex.h"
|
|
|
|
|
|
// DLG_DoubleConfirm 对话框
|
|
|
|
class DLG_DoubleConfirm : public CDialogEx
|
|
{
|
|
public:
|
|
CString m_strConfirmText;
|
|
CString m_strTipText;
|
|
CString m_strTitle;
|
|
DECLARE_DYNAMIC(DLG_DoubleConfirm)
|
|
|
|
public:
|
|
DLG_DoubleConfirm(CWnd* pParent = nullptr); // 标准构造函数
|
|
virtual ~DLG_DoubleConfirm();
|
|
void SetParam(CString strConfirmText, CString strTipText, CString strTitle);
|
|
|
|
// 对话框数据
|
|
#ifdef AFX_DESIGN_TIME
|
|
enum { IDD = IDD_DOUBLECONFIRM };
|
|
#endif
|
|
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
public:
|
|
CString m_strText;
|
|
CString m_strTip;
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnBnClickedOk();
|
|
CString m_strConfirm;
|
|
CString m_strInput;
|
|
};
|