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.

94 lines
1.3 KiB

  1. /*++
  2. Copyright (c) 1994-1998 Microsoft Corporation
  3. Module Name :
  4. seldate.h
  5. Abstract:
  6. Date selector dialog definitions
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager
  11. Revision History:
  12. --*/
  13. //{{AFX_INCLUDES()
  14. #include "msacal70.h"
  15. //}}AFX_INCLUDES
  16. class CSelDate : public CDialog
  17. /*++
  18. Class Description:
  19. Date selector dialog
  20. Public Interface:
  21. CSelDate : Constructor
  22. GetTime : Get time structure
  23. --*/
  24. {
  25. //
  26. // Construction
  27. //
  28. public:
  29. CSelDate(
  30. IN CTime tm,
  31. IN CWnd * pParent = NULL
  32. );
  33. //
  34. // Get the time and date
  35. //
  36. public:
  37. CTime & GetTime()
  38. {
  39. return m_tm;
  40. }
  41. //
  42. // Dialog Data
  43. //
  44. protected:
  45. //{{AFX_DATA(CSelDate)
  46. enum { IDD = IDD_DIALOG_PICK_DATE };
  47. CMsacal70 m_cal;
  48. //}}AFX_DATA
  49. CTime m_tm;
  50. //
  51. // Overrides
  52. //
  53. protected:
  54. // ClassWizard generated virtual function overrides
  55. //{{AFX_VIRTUAL(CSelDate)
  56. protected:
  57. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  58. //}}AFX_VIRTUAL
  59. //
  60. // Implementation
  61. //
  62. protected:
  63. // Generated message map functions
  64. //{{AFX_MSG(CSelDate)
  65. virtual BOOL OnInitDialog();
  66. virtual void OnOK();
  67. //}}AFX_MSG
  68. DECLARE_MESSAGE_MAP()
  69. };