-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAboutNaadDlg.cpp
55 lines (40 loc) · 1.48 KB
/
AboutNaadDlg.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
// AboutNaadDlg.cpp : implementation file
//
#include "stdafx.h"
#include "Naad.h"
#include "AboutNaadDlg.h"
// CAboutNaadDlg dialog
IMPLEMENT_DYNAMIC(CAboutNaadDlg, CDialog)
CAboutNaadDlg::CAboutNaadDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAboutNaadDlg::IDD, pParent)
{
}
CAboutNaadDlg::~CAboutNaadDlg()
{
}
void CAboutNaadDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
DDX_Control(pDX, IDC_STATIC_ABT, m_zoomCtrl);
}
BEGIN_MESSAGE_MAP(CAboutNaadDlg, CDialog)
END_MESSAGE_MAP()
// CAboutNaadDlg message handlers
BOOL CAboutNaadDlg::OnInitDialog()
{
CDialog::OnInitDialog();
m_AboutText.Format("%.1f", (float)VERSION/10.0);
m_AboutText = "Naad version " + m_AboutText + ", " + VERMONTH + " \r\n\r\n" + "By\r\nOormi Creations\r\nhttp://oormi.in\r\noormicreations@gmail.com";
m_AboutText += "\r\n\r\n\r\n\r\nCredits :\r\n* Multiline List Control\tCopyright(C) 2006 Dave Calkins (coder1024@gmail.com)\r\n";
m_AboutText += "* UpdateCheck Class\tCopyright(C) 2003 Alexander Bischofberger (www.bluescreen.de)\r\n";
m_AboutText += "* Image Support\tJim Dill (jim@jimdill.net) and Tobias Eiseler (tobias.eiseler@sisternicky.com)\r\n";
m_AboutText += "* WaveBox Class\tZenith__";
m_AboutText += "\r\n\r\nNaad is a freeware and open source software.";
m_zoomCtrl.m_ImageName = m_AboutText;
m_zoomCtrl.m_About = true;
if(!m_zoomCtrl.LoadFromFile(m_ImageFileName))
{
//CDialog::OnCancel();
}
return TRUE; // return TRUE unless you set the focus to a control
}