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.

87 lines
1.8 KiB

  1. //+--------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1994 - 1996.
  5. //
  6. // File: selmonth.hxx
  7. //
  8. // Contents: Definition of class to manage simple month-selection
  9. // dialog box.
  10. //
  11. // Classes: CSelectMonth
  12. //
  13. // History: 05-05-1997 DavidMun Created
  14. // 07-18-1997 DavidMun Moved from wizard to schedui
  15. //
  16. //---------------------------------------------------------------------------
  17. #ifndef __SELMONTH_HXX_
  18. #define __SELMONTH_HXX_
  19. BOOL
  20. SelectMonthDialog(
  21. HWND hwndParent,
  22. TASK_TRIGGER *pjt);
  23. //+--------------------------------------------------------------------------
  24. //
  25. // Class: CSelectMonth
  26. //
  27. // Purpose: Drive a month-selection dialog used by the monthly trigger
  28. //
  29. // History: 5-05-1997 DavidMun Created
  30. //
  31. //---------------------------------------------------------------------------
  32. class CSelectMonth: public CDlg
  33. {
  34. public:
  35. CSelectMonth();
  36. VOID
  37. InitSelectionFromTrigger(
  38. const TASK_TRIGGER *pjt);
  39. VOID
  40. UpdateTrigger(
  41. TASK_TRIGGER *pjt);
  42. private:
  43. virtual INT_PTR
  44. RealDlgProc(
  45. UINT uMsg,
  46. WPARAM wParam,
  47. LPARAM lParam);
  48. BOOL
  49. _OnOK();
  50. VOID
  51. _OnInit();
  52. WORD _rgfMonths;
  53. };
  54. //+--------------------------------------------------------------------------
  55. //
  56. // Member: CSelectMonth::CSelectMonth
  57. //
  58. // Synopsis: ctor
  59. //
  60. // History: 07-18-1997 DavidMun Created
  61. //
  62. //---------------------------------------------------------------------------
  63. inline
  64. CSelectMonth::CSelectMonth():
  65. _rgfMonths(0)
  66. {
  67. }
  68. #endif // __SELMONTH_HXX_