-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMemDialog.cpp
More file actions
56 lines (45 loc) · 1.19 KB
/
MemDialog.cpp
File metadata and controls
56 lines (45 loc) · 1.19 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
// MemDialog.cpp : implementation file
//
#include "stdafx.h"
#include "WinEVE.h"
#include "MemDialog.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMemDialog dialog
CMemDialog::CMemDialog(CWnd* pParent /*=NULL*/)
: CDialog(CMemDialog::IDD, pParent)
{
//{{AFX_DATA_INIT(CMemDialog)
m_code = 0;
m_data = 0;
m_fpal = 0;
m_fpdl = 0;
m_fpml = 0;
//}}AFX_DATA_INIT
}
void CMemDialog::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CMemDialog)
DDX_Text(pDX, IDC_CODEMEM, m_code);
DDV_MinMaxInt(pDX, m_code, 8, 13);
DDX_Text(pDX, IDC_DATAMEM, m_data);
DDV_MinMaxInt(pDX, m_data, 4, 12);
DDX_Text(pDX, IDC_FPAL, m_fpal);
DDV_MinMaxInt(pDX, m_fpal, 2, 8);
DDX_Text(pDX, IDC_FPDL, m_fpdl);
DDV_MinMaxInt(pDX, m_fpdl, 10, 30);
DDX_Text(pDX, IDC_FPML, m_fpml);
DDV_MinMaxInt(pDX, m_fpml, 2, 8);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CMemDialog, CDialog)
//{{AFX_MSG_MAP(CMemDialog)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CMemDialog message handlers