64 lines
1.7 KiB
C++
Executable File
64 lines
1.7 KiB
C++
Executable File
#if !defined(AFX_SETTIMEDLG_H__F4EFDE42_D4F9_4024_8363_AAE8CE4BEE48__INCLUDED_)
|
|
#define AFX_SETTIMEDLG_H__F4EFDE42_D4F9_4024_8363_AAE8CE4BEE48__INCLUDED_
|
|
|
|
#if _MSC_VER > 1000
|
|
#pragma once
|
|
#endif // _MSC_VER > 1000
|
|
// SetTimeDlg.h : header file
|
|
//
|
|
#include "BmpTxtButton.h"
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
// CSetTimeDlg dialog
|
|
|
|
class CSetTimeDlg : public CDialog
|
|
{
|
|
private:
|
|
CDC m_BgDC;
|
|
CFont m_txtFont;
|
|
CFont m_titleFont;
|
|
int m_Hour;
|
|
int m_Minute;
|
|
// Construction
|
|
public:
|
|
CSetTimeDlg(CWnd* pParent = NULL); // standard constructor
|
|
~CSetTimeDlg();
|
|
// Dialog Data
|
|
//{{AFX_DATA(CSetTimeDlg)
|
|
enum { IDD = IDD_DIALOG_SETTIME };
|
|
CBmpTxtButton m_butMinuteDec;
|
|
CBmpTxtButton m_butMinuteAdd;
|
|
CBmpTxtButton m_butHourDec;
|
|
CBmpTxtButton m_butHourAdd;
|
|
CBmpTxtButton m_butExit;
|
|
//}}AFX_DATA
|
|
|
|
|
|
// Overrides
|
|
// ClassWizard generated virtual function overrides
|
|
//{{AFX_VIRTUAL(CSetTimeDlg)
|
|
protected:
|
|
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
|
|
//}}AFX_VIRTUAL
|
|
|
|
// Implementation
|
|
protected:
|
|
|
|
// Generated message map functions
|
|
//{{AFX_MSG(CSetTimeDlg)
|
|
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
|
|
virtual BOOL OnInitDialog();
|
|
afx_msg void OnPaint();
|
|
afx_msg void OnButtonSettimeExit();
|
|
afx_msg void OnButtonSettimeHouradd();
|
|
afx_msg void OnButtonSettimeHourdec();
|
|
afx_msg void OnButtonSettimeMinuteadd();
|
|
afx_msg void OnButtonSettimeMinutedec();
|
|
//}}AFX_MSG
|
|
DECLARE_MESSAGE_MAP()
|
|
};
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
|
|
|
|
#endif // !defined(AFX_SETTIMEDLG_H__F4EFDE42_D4F9_4024_8363_AAE8CE4BEE48__INCLUDED_)
|