forked from cgestes/multifxvst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AboutDlg.cpp
69 lines (53 loc) · 1.4 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
57
58
59
60
61
62
63
64
65
66
67
68
69
// AboutDlg.cpp : fichier d'implémentation
//
#include "stdafx.h"
#include "multifxVST.h"
#include "AboutDlg.h"
#include ".\aboutdlg.h"
// Boîte de dialogue CAboutDlg
IMPLEMENT_DYNAMIC(CAboutDlg, CDialog)
CAboutDlg::CAboutDlg(CWnd* pParent /*=NULL*/)
: CDialog(CAboutDlg::IDD, pParent)
{
}
CAboutDlg::~CAboutDlg()
{
}
void CAboutDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CAboutDlg, CDialog)
ON_WM_CTLCOLOR()
// ON_WM_NCDESTROY()
ON_STN_CLICKED(IDC_STATIC1, OnStnClickedStatic1)
ON_STN_CLICKED(IDC_STATIC2, OnStnClickedStatic2)
END_MESSAGE_MAP()
// Gestionnaires de messages CAboutDlg
HBRUSH CAboutDlg::OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor)
{
static CBrush brush(RGB(216,135,57));
pDC->SetBkMode(TRANSPARENT);
return brush;
}
//void CAboutDlg::OnNcDestroy()
//{
// CDialog::OnNcDestroy();
//
// // TODO : ajoutez ici le code de votre gestionnaire de messages
//}
void CAboutDlg::PostNcDestroy()
{
// TODO : ajoutez ici votre code spécialisé et/ou l'appel de la classe de base
CDialog::PostNcDestroy();
APP->pAboutDlg = NULL;
delete this;
}
void CAboutDlg::OnStnClickedStatic1()
{
ShellExecute(NULL,"open","http://www.ctaf.free.fr","","",SW_NORMAL);
}
void CAboutDlg::OnStnClickedStatic2()
{
ShellExecute(NULL,"open","http://www.ctaf.free.fr","","",SW_NORMAL);
}