-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAboutDlg.cpp
56 lines (50 loc) · 1.26 KB
/
AboutDlg.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
/******************************************************************************
** (C) Chris Oldwood
**
** MODULE: ABOUTDLG.CPP
** COMPONENT: The Application.
** DESCRIPTION: CAboutDlg class definition.
**
*******************************************************************************
*/
#include "Common.hpp"
#include "AboutDlg.hpp"
#include "UTSvrBrowser.hpp"
/******************************************************************************
** Method: Default constructor.
**
** Description: .
**
** Parameters: None.
**
** Returns: Nothing.
**
*******************************************************************************
*/
CAboutDlg::CAboutDlg()
: CDialog(IDD_ABOUT)
{
DEFINE_CTRL_TABLE
CTRL(IDC_VERSION, &m_txtVersion)
CTRL(IDC_EMAIL, &m_txtEmail )
CTRL(IDC_WEBSITE, &m_txtWebSite)
END_CTRL_TABLE
// Set the URL label protocols.
m_txtEmail.Protocol(TXT("mailto:"));
m_txtWebSite.Protocol(TXT("http://"));
}
/******************************************************************************
** Method: OnInitDialog()
**
** Description: Initialise the dialog.
**
** Parameters: None.
**
** Returns: Nothing.
**
*******************************************************************************
*/
void CAboutDlg::OnInitDialog()
{
m_txtVersion.Text(App.VERSION);
}