1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- #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
- #include "HoverButton.h"
- class CMessageBoxDlg : public CDialog
- {
- public:
- int nDelaySecond;
- bool bOk;
- bool bShowOkBtn;
- CFont m_Font;
- CMessageBoxDlg(CWnd* pParent = NULL);
-
- enum { IDD = IDD_MESSAGEBOX };
- CHoverButton m_OkBtn;
- CHoverButton m_ExitBtn;
- CString m_strMessage;
-
-
-
- protected:
- virtual void DoDataExchange(CDataExchange* pDX);
-
- protected:
-
-
- 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();
-
- DECLARE_MESSAGE_MAP()
- };
- #endif
|