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.

56 lines
1.6 KiB

  1. // datedial.h : header file
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1995 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CDateDialog dialog
  14. class CDateDialog : public CCSDialog
  15. {
  16. // Construction
  17. public:
  18. CDateDialog(CWnd* pParent , PARAFORMAT& pf); // standard constructor
  19. // Attributes
  20. static PARAFORMAT m_pf;
  21. static SYSTEMTIME m_time;
  22. static LCID m_id;
  23. static CListBox* m_pListBox;
  24. static BOOL CALLBACK DateFmtEnumProc(LPTSTR lpszFormatString);
  25. static BOOL CALLBACK TimeFmtEnumProc(LPTSTR lpszFormatString);
  26. // Dialog Data
  27. //{{AFX_DATA(CDateDialog)
  28. enum { IDD = IDD_DATEDIALOG };
  29. CListBox m_listBox;
  30. CString m_strSel;
  31. //}}AFX_DATA
  32. // Overrides
  33. // ClassWizard generated virtual function overrides
  34. //{{AFX_VIRTUAL(CDateDialog)
  35. protected:
  36. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  37. //}}AFX_VIRTUAL
  38. // Implementation
  39. protected:
  40. static const DWORD m_nHelpIDs[];
  41. virtual const DWORD* GetHelpIDs() {return m_nHelpIDs;}
  42. // Generated message map functions
  43. //{{AFX_MSG(CDateDialog)
  44. virtual BOOL OnInitDialog();
  45. afx_msg void OnDblclkDatedialogList();
  46. //}}AFX_MSG
  47. DECLARE_MESSAGE_MAP()
  48. };