Leaked source code of windows server 2003
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.

82 lines
1.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1996.
  5. //
  6. // File: weekly.hxx
  7. //
  8. // Contents: Task wizard weekly trigger property page.
  9. //
  10. // Classes: CWeeklyPage
  11. //
  12. // History: 4-28-1997 DavidMun Created
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef __WEEKLY_HXX_
  16. #define __WEEKLY_HXX_
  17. //+--------------------------------------------------------------------------
  18. //
  19. // Class: CWeeklyPage
  20. //
  21. // Purpose: Implement the task wizard weekly trigger page
  22. //
  23. // History: 4-28-1997 DavidMun Created
  24. //
  25. //---------------------------------------------------------------------------
  26. class CWeeklyPage: public CTriggerPage
  27. {
  28. public:
  29. CWeeklyPage::CWeeklyPage(
  30. CTaskWizard *pParent,
  31. LPTSTR ptszFolderPath,
  32. HPROPSHEETPAGE *phPSP);
  33. CWeeklyPage::~CWeeklyPage();
  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. //
  52. // CTriggerPage overrides
  53. //
  54. virtual VOID
  55. FillInTrigger(
  56. TASK_TRIGGER *pTrigger);
  57. private:
  58. VOID
  59. _UpdateWizButtons();
  60. USHORT _idSelectedRadio;
  61. USHORT _flDaysOfTheWeek;
  62. CTaskWizard *_pParent;
  63. };
  64. #endif // __WEEKLY_HXX_