PageCalendar.h
上传用户:sesekoo
上传日期:2020-07-18
资源大小:21543k
文件大小:3k
源码类别:

界面编程

开发平台:

Visual C++

  1. #if !defined(AFX_PAGECALENDAR_H__6D42983E_1D78_4C83_9120_9B93EBDCEFB1__INCLUDED_)
  2. #define AFX_PAGECALENDAR_H__6D42983E_1D78_4C83_9120_9B93EBDCEFB1__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // PageCalendar.h : header file
  7. //
  8. #if (!defined __EXT_MFC_NO_DATE_PICKER)
  9. #include "PageBase.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPageCalendar dialog
  12. class CPageCalendar : public CPageBase 
  13. {
  14. // Construction
  15. public:
  16. CPageCalendar(CWnd* pParent = NULL);   // standard constructor
  17. // Dialog Data
  18. //{{AFX_DATA(CPageCalendar)
  19. enum { IDD = IDD_PAGE_CALENDAR };
  20. CExtEdit m_wndRowsMin;
  21. CExtEdit m_wndRowsMax;
  22. CExtEdit m_wndColumnsMax;
  23. CExtEdit m_wndColumnsMin;
  24. CExtSpinWnd m_spinRowsMin;
  25. CExtSpinWnd m_spinRowsMax;
  26. CExtSpinWnd m_spinColumnsMin;
  27. CExtSpinWnd m_spinColumnsMax;
  28. CExtLabel m_StaticNotifications;
  29. CExtLabel m_staticRMin;
  30. CExtLabel m_staticRMax;
  31. CExtLabel m_staticCMin;
  32. CExtLabel m_staticCMax;
  33. CExtCheckBox m_chkReserveBorders;
  34. CExtCheckBox m_chkNoHdrBk;
  35. CExtCheckBox m_chkHideNonMonthDaysInside;
  36. CExtCheckBox m_chkEnableMultipleSelect;
  37. CExtCheckBox m_chkBoldWeek;
  38. CExtCheckBox m_chkBoldPopup;
  39. CExtCheckBox m_chkBoldHeader;
  40. CExtCheckBox m_chkBoldCell;
  41. CExtCheckBox m_chkAutoDimensionsMode;
  42. CExtCheckBox m_chkShowTodayHighlight;
  43. CExtCheckBox m_chkShowNonMonthDays;
  44. CExtCheckBox m_chkShowMonthListShadow;
  45. CExtCheckBox m_chkShowBtnToday;
  46. CExtCheckBox m_chkShowBtnSeparator;
  47. CExtCheckBox m_chkShowBtnNone;
  48. CExtCheckBox m_chkShowBorders;
  49. CExtDatePickerWnd m_wndDatePicker;
  50. //}}AFX_DATA
  51. CExtNCSB < CExtFlatEdit > m_wndNotifications;
  52. // Overrides
  53. // ClassWizard generated virtual function overrides
  54. //{{AFX_VIRTUAL(CPageCalendar)
  55. public:
  56. virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo);
  57. protected:
  58. virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  59. //}}AFX_VIRTUAL
  60. // Implementation
  61. protected:
  62. void _VerifyCalendarDimensions();
  63. bool m_bInitComplete:1;
  64. bool m_bVerificationInProcess:1;
  65. // Generated message map functions
  66. //{{AFX_MSG(CPageCalendar)
  67. virtual BOOL OnInitDialog();
  68. //}}AFX_MSG
  69. LRESULT OnMsgSelectionNotification( WPARAM wParam, LPARAM lParam );
  70. DECLARE_MESSAGE_MAP()
  71. };
  72. #endif // #if (!defined __EXT_MFC_NO_DATE_PICKER)
  73. //{{AFX_INSERT_LOCATION}}
  74. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  75. #endif // !defined(AFX_PAGECALENDAR_H__6D42983E_1D78_4C83_9120_9B93EBDCEFB1__INCLUDED_)