SmsManager/DLG_ShowWarning.h
2025-01-14 10:46:18 +08:00

40 lines
1.8 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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);
};