#if !defined(AFX_MESSAGEBOXDLG_H__2C58F8B7_1380_4C1A_8E11_9538561B8784__INCLUDED_) #define AFX_MESSAGEBOXDLG_H__2C58F8B7_1380_4C1A_8E11_9538561B8784__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // MessageBoxDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // CMessageBoxDlg dialog #include "HoverButton.h" class CMessageBoxDlg : public CDialog { public: int nDelaySecond; bool bOk; bool bShowOkBtn; CFont m_Font; CMessageBoxDlg(CWnd* pParent = NULL); // standard constructor // Dialog Data //{{AFX_DATA(CMessageBoxDlg) enum { IDD = IDD_MESSAGEBOX }; CHoverButton m_OkBtn; CHoverButton m_ExitBtn; CString m_strMessage; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CMessageBoxDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CMessageBoxDlg) afx_msg BOOL OnEraseBkgnd(CDC* pDC); virtual void OnOK(); virtual void OnCancel(); afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor); virtual BOOL OnInitDialog(); afx_msg void OnTimer(UINT nIDEvent); afx_msg void OnMyok(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_MESSAGEBOXDLG_H__2C58F8B7_1380_4C1A_8E11_9538561B8784__INCLUDED_)