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.

78 lines
1.6 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1996.
  5. //
  6. // File: trigpage.hxx
  7. //
  8. // Contents: Definition of common trigger page class
  9. //
  10. // Classes: CTriggerPage
  11. //
  12. // History: 5-06-1997 DavidMun Created
  13. //
  14. //---------------------------------------------------------------------------
  15. #ifndef __TRIGPAGE_HXX_
  16. #define __TRIGPAGE_HXX_
  17. //+--------------------------------------------------------------------------
  18. //
  19. // Class: CTriggerPage
  20. //
  21. // Purpose: Implements methods common to all trigger pages and supplies
  22. // virtual function used by completion page.
  23. //
  24. // History: 5-06-1997 DavidMun Created
  25. //
  26. //---------------------------------------------------------------------------
  27. class CTriggerPage: public CWizPage
  28. {
  29. public:
  30. CTriggerPage(
  31. ULONG iddPage,
  32. ULONG idsHeader2,
  33. LPTSTR ptszFolderPath,
  34. HPROPSHEETPAGE *phPSP);
  35. virtual VOID
  36. FillInTrigger(
  37. TASK_TRIGGER *pTrigger) = 0;
  38. protected:
  39. //
  40. // Time format string for use with Date picker control
  41. //
  42. TCHAR _tszTimeFormat[MAX_DP_TIME_FORMAT];
  43. void
  44. _UpdateTimeFormat();
  45. //
  46. // CPropPage overrides
  47. //
  48. virtual LRESULT _OnWinIniChange(WPARAM wParam, LPARAM lParam);
  49. //
  50. // CWizPage overrides
  51. //
  52. virtual LRESULT
  53. _OnWizBack();
  54. virtual LRESULT
  55. _OnWizNext();
  56. };
  57. #endif // __TRIGPAGE_HXX_