home *** CD-ROM | disk | FTP | other *** search
/ PC World 2003 June / PCWorld_2003-06_cd.bin / KOMUNIK / MIRRORIT / SRC / DATETIMEPICKERCTRL.H < prev    next >
C/C++ Source or Header  |  1998-01-04  |  1KB  |  56 lines

  1. #if !defined(AFX_DATETIMEPICKERCTRL_H__A1E74863_84F8_11D1_BC01_0000C0003048__INCLUDED_)
  2. #define AFX_DATETIMEPICKERCTRL_H__A1E74863_84F8_11D1_BC01_0000C0003048__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // DateTimePickerCtrl.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CDateTimePickerCtrl window
  12.  
  13. class CDateTimePickerCtrl : public CWnd
  14. {
  15.  
  16.     DECLARE_DYNAMIC(CDateTimePickerCtrl)
  17.  
  18. // Construction
  19. public:
  20.     CDateTimePickerCtrl();
  21.     BOOL Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID);
  22.  
  23. // Attributes
  24. public:
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CDateTimePickerCtrl)
  32.     protected:
  33.     virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. public:
  38.     void GetDateTime(SYSTEMTIME & st);
  39.     void SetDateTime(SYSTEMTIME & st);
  40.     SYSTEMTIME m_Time;
  41.     virtual ~CDateTimePickerCtrl();
  42.  
  43.     // Generated message map functions
  44. protected:
  45.     //{{AFX_MSG(CDateTimePickerCtrl)
  46.     //}}AFX_MSG
  47.     DECLARE_MESSAGE_MAP()
  48. };
  49.  
  50. /////////////////////////////////////////////////////////////////////////////
  51.  
  52. //{{AFX_INSERT_LOCATION}}
  53. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  54.  
  55. #endif // !defined(AFX_DATETIMEPICKERCTRL_H__A1E74863_84F8_11D1_BC01_0000C0003048__INCLUDED_)
  56.