Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
1.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1996.
  5. //
  6. // File: monthly.hxx
  7. //
  8. // Contents: Task wizard monthly property page.
  9. //
  10. // Classes: CMonthlyPage
  11. //
  12. // History: 4-28-1997 DavidMun Created
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef __MONTHLY_HXX_
  16. #define __MONTHLY_HXX_
  17. //+--------------------------------------------------------------------------
  18. //
  19. // Class: CMonthlyPage
  20. //
  21. // Purpose: Implement the task wizard monthly property page
  22. //
  23. // History: 4-28-1997 DavidMun Created
  24. //
  25. //---------------------------------------------------------------------------
  26. class CMonthlyPage: public CTriggerPage
  27. {
  28. public:
  29. CMonthlyPage::CMonthlyPage(
  30. CTaskWizard *pParent,
  31. LPTSTR ptszFolderPath,
  32. HPROPSHEETPAGE *phPSP);
  33. CMonthlyPage::~CMonthlyPage();
  34. //
  35. // CPropPage overrides
  36. //
  37. virtual LRESULT
  38. _OnCommand(
  39. INT id,
  40. HWND hwndCtl,
  41. UINT codeNotify);
  42. //
  43. // CWizPage overrides
  44. //
  45. virtual LRESULT
  46. _OnInitDialog(
  47. LPARAM lParam);
  48. virtual LRESULT
  49. _OnPSNSetActive(
  50. LPARAM lParam);
  51. virtual LRESULT
  52. _OnWizNext();
  53. //
  54. // CTriggerPage overrides
  55. //
  56. virtual VOID
  57. FillInTrigger(
  58. TASK_TRIGGER *pTrigger);
  59. private:
  60. VOID
  61. _EnableDayCombos(
  62. BOOL fEnable);
  63. WORD
  64. _ReadSelectedMonths();
  65. VOID
  66. _UpdateWizButtons();
  67. USHORT _idSelectedDayType;
  68. };
  69. #endif // __MONTHLY_HXX_