-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDlgAbout.cpp
More file actions
83 lines (68 loc) · 2.09 KB
/
DlgAbout.cpp
File metadata and controls
83 lines (68 loc) · 2.09 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
75
76
77
78
79
80
81
82
83
// DlgAbout.cpp : implementation file
//
#include "stdafx.h"
#include "WinDE.h"
#include "DlgAbout.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DlgAbout dialog
DlgAbout::DlgAbout(CWnd* pParent /*=NULL*/)
: CDialog(DlgAbout::IDD, pParent)
{
//{{AFX_DATA_INIT(DlgAbout)
about = _T("");
company = _T("");
date = _T("");
name = _T("");
vdate = _T("");
version = _T("");
//}}AFX_DATA_INIT
}
void DlgAbout::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DlgAbout)
DDX_Control(pDX, IDC_MAIL, mail);
DDX_Text(pDX, IDC_ABOUT, about);
DDX_Text(pDX, IDC_COMPANY, company);
DDX_Text(pDX, IDC_DATE, date);
DDX_Text(pDX, IDC_NAME, name);
DDX_Text(pDX, IDC_VDATE, vdate);
DDX_Text(pDX, IDC_VERSION, version);
DDX_Control(pDX, IDC_LINK, link);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DlgAbout, CDialog)
//{{AFX_MSG_MAP(DlgAbout)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DlgAbout message handlers
BOOL DlgAbout::OnInitDialog()
{
CDialog::OnInitDialog();
about = _T("Diku MUD Area Editor was created in an attempt to create\r\n"
"an easily usable area editor, I had tried other zone editors in the\r\n"
"past and found them lacking. At first I had made an attempt to\r\n"
"create this in VB 6.0 but it was never completed.\r\n"
"A few years later I had decided it was time to test out MFC, and\r\n"
"this is the result of that attempt. It was created with MFC 6.0\r\n"
"and MSVC 6.0.");
company = _T("Galactic Software Solutions");
date = _T("6/2003");
name = _T("Marissa du Bois");
vdate = _T("11/3/2014");
version = _T("1.8.1");
link.SetLinkText("Visit My Website");
link.SetTootTipText("Check Here for Updates");
link.SetLinkUrl("http://www.galacticsoft.net");
mail.SetLinkText("marissa@galacticsoft.net");
mail.SetTootTipText("marissa@galacticsoft.net");
mail.SetLinkUrl("mailto:marissa@galacticsoft.net");
UpdateData(false);
return TRUE;
}