-
Notifications
You must be signed in to change notification settings - Fork 2
/
options.cpp
executable file
·62 lines (54 loc) · 1.61 KB
/
options.cpp
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
56
57
58
59
60
61
62
// Options.cpp: Implementierungsdatei
//
#include "stdafx.h"
#include "pex32.h"
#include "Options.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Eigenschaftenseite COptions
IMPLEMENT_DYNCREATE (COptions, CPropertyPage) COptions::COptions ():CPropertyPage (COptions::
IDD)
{
//{{AFX_DATA_INIT(COptions)
m_jumptolistend = FALSE;
m_eliminatecalls = -1;
m_eliminatecalls_timespan = 0;
m_enabletcpip = FALSE;
m_password = _T ("");
m_tcpipport = 0;
//}}AFX_DATA_INIT
}
COptions::~COptions ()
{
}
void
COptions::DoDataExchange (CDataExchange * pDX)
{
CPropertyPage::DoDataExchange (pDX);
//{{AFX_DATA_MAP(COptions)
DDX_Control (pDX, IDC_SPIN1, m_spi1);
DDX_Check (pDX, IDC_AUTOSCROLL, m_jumptolistend);
DDX_CBIndex (pDX, IDC_ELIMINATECALLS, m_eliminatecalls);
DDX_Text (pDX, IDC_TIMESPAN, m_eliminatecalls_timespan);
DDX_Check (pDX, IDC_TCPIP, m_enabletcpip);
DDX_Text (pDX, IDC_PASSWORD, m_password);
DDX_Text (pDX, IDC_PORT, m_tcpipport);
DDV_MinMaxInt (pDX, m_tcpipport, 0, 65535);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP (COptions, CPropertyPage)
//{{AFX_MSG_MAP(COptions)
// HINWEIS: Der Klassen-Assistent fügt hier Zuordnungsmakros für Nachrichten ein
//}}AFX_MSG_MAP
END_MESSAGE_MAP ()
/////////////////////////////////////////////////////////////////////////////
// Behandlungsroutinen für Nachrichten COptions
BOOL COptions::OnCommand (WPARAM wParam, LPARAM lParam)
{
SetModified (TRUE);
return CPropertyPage::OnCommand (wParam, lParam);
}