[r5083]: tags / V3_03 / OptionsDisplay.cpp Maximize Restore History

Download this file

OptionsDisplay.cpp    62 lines (47 with data), 1.5 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
56
57
58
59
// OptionsDisplay.cpp : implementation file
//
#include "stdafx.h"
#include "passwordsafe.h"
#if defined(POCKET_PC)
#include "pocketpc/resource.h"
#else
#include "resource.h"
#endif
#include "OptionsDisplay.h"
#include "corelib\pwsprefs.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// COptionsDisplay property page
IMPLEMENT_DYNCREATE(COptionsDisplay, CPropertyPage)
COptionsDisplay::COptionsDisplay() : CPropertyPage(COptionsDisplay::IDD)
{
//{{AFX_DATA_INIT(COptionsDisplay)
//}}AFX_DATA_INIT
}
COptionsDisplay::~COptionsDisplay()
{
}
void COptionsDisplay::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(COptionsDisplay)
DDX_Check(pDX, IDC_ALWAYSONTOP, m_alwaysontop);
DDX_Check(pDX, IDC_DEFPWSHOWINLIST, m_pwshowinlist);
DDX_Check(pDX, IDC_DEFPWSHOWINEDIT, m_pwshowinedit);
DDX_Check(pDX, IDC_DEFNOTESSHOWINEDIT, m_notesshowinedit);
#if defined(POCKET_PC)
DDX_Check(pDX, IDC_DCSHOWSPASSWORD, m_dcshowspassword);
#endif
DDX_Radio(pDX, IDC_TREE_DISPLAY_COLLAPSED, m_treedisplaystatusatopen); // only first!
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(COptionsDisplay, CPropertyPage)
//{{AFX_MSG_MAP(COptionsDisplay)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// COptionsDisplay message handlers