[8ab513]: / EditDlg.h  Maximize  Restore  History

Download this file

75 lines (63 with data), 1.7 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// EditDlg.h
//-----------------------------------------------------------------------------
#include "afxwin.h"
class CEditDlg
: public CDialog
{
public:
// default constructor
CEditDlg(CWnd* pParent = NULL)
: CDialog(CEditDlg::IDD, pParent),
m_isPwHidden(true),
m_ascCTime(_T("")), m_ascPMTime(_T("")), m_ascATime(_T("")),
m_ascLTime(_T("")), m_ascRMTime(_T(""))
{}
enum { IDD = IDD_EDIT };
CMyString m_notes;
CMyString m_password;
CMyString m_username;
CMyString m_title;
CMyString m_group;
CMyString m_URL;
CMyString m_autotype;
CMyString m_ascCTime;
CMyString m_ascPMTime;
CMyString m_ascATime;
CMyString m_ascLTime;
CMyString m_ascRMTime;
time_t m_tttLTime;
CMyString m_realpassword;
POSITION m_listindex;
bool m_IsReadOnly;
void ShowPassword(void);
void HidePassword(void);
private:
bool m_isPwHidden;
// Are we showing more or less details?
bool m_isExpanded;
void ResizeDialog();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
protected:
afx_msg void OnShowpassword();
virtual void OnOK();
virtual void OnCancel();
virtual BOOL OnInitDialog();
afx_msg void OnRandom();
afx_msg void OnHelp();
#if defined(POCKET_PC)
afx_msg void OnPasskeySetfocus();
afx_msg void OnPasskeyKillfocus();
#endif
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedMore();
afx_msg void OnBnClickedClearLTime();
afx_msg void OnBnClickedSetLTime();
CButton m_moreLessBtn;
};
//-----------------------------------------------------------------------------
// Local variables:
// mode: c++
// End: