-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCurTimeSettingDlg.cpp
More file actions
42 lines (30 loc) · 883 Bytes
/
CurTimeSettingDlg.cpp
File metadata and controls
42 lines (30 loc) · 883 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// CurTimeSettingDlg.cpp : 구현 파일입니다.
//
#include "stdafx.h"
#include "TimerStopwatch.h"
#include "CurTimeSettingDlg.h"
#include "afxdialogex.h"
// CCurTimeSettingDlg 대화 상자입니다.
IMPLEMENT_DYNAMIC(CCurTimeSettingDlg, CDialog)
CCurTimeSettingDlg::CCurTimeSettingDlg(CWnd* pParent /*=NULL*/)
: CDialog(IDD_DIALOG_CURTIMESETTING, pParent)
, m_ampm(0)
, m_curH(0)
, m_curM(0)
{
}
CCurTimeSettingDlg::~CCurTimeSettingDlg()
{
}
void CCurTimeSettingDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Radio(pDX, IDC_RADIO_AM, m_ampm);
DDX_Text(pDX, IDC_EDIT_CURH, m_curH);
DDV_MinMaxInt(pDX, m_curH, 0, 12);
DDX_Text(pDX, IDC_EDIT_CURM, m_curM);
DDV_MinMaxInt(pDX, m_curM, 0, 59);
}
BEGIN_MESSAGE_MAP(CCurTimeSettingDlg, CDialog)
END_MESSAGE_MAP()
// CCurTimeSettingDlg 메시지 처리기입니다.