DlgTipOfTheDay.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /* Copyright (c) 2002-2012 Croteam Ltd.
  2. This program is free software; you can redistribute it and/or modify
  3. it under the terms of version 2 of the GNU General Public License as published by
  4. the Free Software Foundation
  5. This program is distributed in the hope that it will be useful,
  6. but WITHOUT ANY WARRANTY; without even the implied warranty of
  7. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  8. GNU General Public License for more details.
  9. You should have received a copy of the GNU General Public License along
  10. with this program; if not, write to the Free Software Foundation, Inc.,
  11. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */
  12. #if !defined(AFX_DLGTIPOFTHEDAY_H__F7006AF6_44F1_11D4_93A2_004095812ACC__INCLUDED_)
  13. #define AFX_DLGTIPOFTHEDAY_H__F7006AF6_44F1_11D4_93A2_004095812ACC__INCLUDED_
  14. #if _MSC_VER > 1000
  15. #pragma once
  16. #endif // _MSC_VER > 1000
  17. // DlgTipOfTheDay.h : header file
  18. //
  19. #include "CtlTipOfTheDayText.h"
  20. /////////////////////////////////////////////////////////////////////////////
  21. // CDlgTipOfTheDay dialog
  22. class CDlgTipOfTheDay : public CDialog
  23. {
  24. public:
  25. CStaticStackArray<CTString> m_astrTips;
  26. // Construction
  27. public:
  28. CDlgTipOfTheDay(CWnd* pParent = NULL); // standard constructor
  29. // Dialog Data
  30. //{{AFX_DATA(CDlgTipOfTheDay)
  31. enum { IDD = IDD_TIPOFTHEDAY };
  32. CCtlTipOfTheDayText m_wndTipText;
  33. BOOL m_bShowTipsAtStartup;
  34. //}}AFX_DATA
  35. // Overrides
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CDlgTipOfTheDay)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. // Generated message map functions
  44. //{{AFX_MSG(CDlgTipOfTheDay)
  45. virtual void OnCancel();
  46. virtual void OnOK();
  47. afx_msg void OnClose();
  48. afx_msg void OnNextTip();
  49. afx_msg void OnPrevTip();
  50. //}}AFX_MSG
  51. DECLARE_MESSAGE_MAP()
  52. };
  53. //{{AFX_INSERT_LOCATION}}
  54. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  55. #endif // !defined(AFX_DLGTIPOFTHEDAY_H__F7006AF6_44F1_11D4_93A2_004095812ACC__INCLUDED_)