-
Notifications
You must be signed in to change notification settings - Fork 0
/
DlgAbout.cpp
executable file
·55 lines (40 loc) · 1.12 KB
/
DlgAbout.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
// DlgAbout.cpp : implementation file
//
#include "stdafx.h"
#include "CdCoverCreator2.h"
#include "DlgAbout.h"
// CDlgAbout dialog
IMPLEMENT_DYNCREATE(CDlgAbout, CDHtmlDialog)
CDlgAbout::CDlgAbout(CWnd* pParent /*=NULL*/)
: CDHtmlDialog(CDlgAbout::IDD, CDlgAbout::IDH, pParent)
{
}
CDlgAbout::~CDlgAbout()
{
}
void CDlgAbout::DoDataExchange(CDataExchange* pDX)
{
CDHtmlDialog::DoDataExchange(pDX);
}
BOOL CDlgAbout::OnInitDialog()
{
CDHtmlDialog::OnInitDialog();
return TRUE; // return TRUE unless you set the focus to a control
}
BEGIN_MESSAGE_MAP(CDlgAbout, CDHtmlDialog)
END_MESSAGE_MAP()
BEGIN_DHTML_EVENT_MAP(CDlgAbout)
DHTML_EVENT_ONCLICK(_T("ButtonOK"), OnButtonOK)
DHTML_EVENT_ONCLICK(_T("ButtonCancel"), OnButtonCancel)
END_DHTML_EVENT_MAP()
// CDlgAbout message handlers
HRESULT CDlgAbout::OnButtonOK(IHTMLElement* /*pElement*/)
{
OnOK();
return S_OK; // return TRUE unless you set the focus to a control
}
HRESULT CDlgAbout::OnButtonCancel(IHTMLElement* /*pElement*/)
{
OnCancel();
return S_OK; // return TRUE unless you set the focus to a control
}