#pragma once


// DLG_ShowWarning 对话框

class DLG_ShowWarning : public CDialogEx
{
	DECLARE_DYNAMIC(DLG_ShowWarning)
public:
	int       xScrn, yScrn;           // 屏幕分辨率
	int       xBmp, yBmp;            // 屏幕分辨率
	long      m_lRecv;
	long      m_lCount;
	CString   m_strShowText;
	CWnd *    m_pMainFrame;
	DLG_ShowWarning * * m_ppDlgWarning;

public:
	void SetParam(CString strText, CWnd * pMainFrame,DLG_ShowWarning * * pdlgWarning);

	DLG_ShowWarning(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DLG_ShowWarning();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_SHOWWARNING };
#endif

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

	DECLARE_MESSAGE_MAP()
public:
	virtual BOOL OnInitDialog();
	afx_msg void OnClose();
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT_PTR nIDEvent);
};