#if !defined(AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_) #define AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // MsgDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CMsgDlg dialog class CMsgDlg : public CDialog { // Construction public: CMsgDlg(char* msg, char* font = NULL, int fontSize = 120, CWnd* pParent = NULL, int x = -1, int y = -1, int cx = -1, int cy = -1); // Dialog Data //{{AFX_DATA(CMsgDlg) enum { IDD = IDD_MSGDLG }; //}}AFX_DATA int m_Size; CString m_Text; CString m_Font; COLORREF backColor; COLORREF textColor; void SetBackColor(COLORREF bc) {backColor = bc;} void SetTextColor(COLORREF tc) {textColor = tc;} // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMsgDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: bool sized; // Generated message map functions //{{AFX_MSG(CMsgDlg) afx_msg void OnPaint(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MSGDLG_H__FF876285_2A96_11D3_8458_00105A17BC83__INCLUDED_)