69 lines
1.8 KiB
C++
Executable File
69 lines
1.8 KiB
C++
Executable File
#if !defined(AFX_SETDATETIMEDLG_H__0A70CDC6_EB1F_49ED_91B4_E15C991C81F8__INCLUDED_)
|
|
#define AFX_SETDATETIMEDLG_H__0A70CDC6_EB1F_49ED_91B4_E15C991C81F8__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SetDateTimeDlg.h : header file
|
|
//
|
|
#include "BmpTxtButton.h"
|
|
#include "SetDateDlg.h"
|
|
#include "SetTimeDlg.h"
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSetDateTimeDlg dialog
|
|
|
|
class CSetDateTimeDlg : public CDialog
|
|
{
|
|
private:
|
|
CDC m_BgDC;
|
|
CDC m_MemDC;
|
|
CBitmap m_BgBmp;
|
|
CFont m_txtFont;
|
|
CFont m_titleFont;
|
|
CString m_CurrentTime;
|
|
CString m_CurrentDate;
|
|
bool m_InitDC;
|
|
// Construction
|
|
public:
|
|
CSetDateTimeDlg(CWnd* pParent = NULL); // standard constructor
|
|
~CSetDateTimeDlg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSetDateTimeDlg)
|
|
enum { IDD = IDD_DIALOG_SET_DT };
|
|
CBmpTxtButton m_butSetTimeZone;
|
|
CBmpTxtButton m_butSetTime;
|
|
CBmpTxtButton m_butSetDate;
|
|
CBmpTxtButton m_butExit;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSetDateTimeDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSetDateTimeDlg)
|
|
afx_msg void OnPaint();
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|
afx_msg void OnButtonDtExit();
|
|
afx_msg void OnButtonDtSetdate();
|
|
afx_msg void OnButtonDtSettime();
|
|
afx_msg void OnButtonDtTimezone();
|
|
afx_msg void OnTimer(UINT nIDEvent);
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SETDATETIMEDLG_H__0A70CDC6_EB1F_49ED_91B4_E15C991C81F8__INCLUDED_)
|