|
Revision 5, 1.1 kB
(checked in by qbert, 6 years ago)
|
Initial ( and last :( ) commit
|
| Line | |
|---|
| 1 |
// AngelScriptPage.cpp : implementation file |
|---|
| 2 |
// |
|---|
| 3 |
|
|---|
| 4 |
#include "stdafx.h" |
|---|
| 5 |
#include "Elephant.h" |
|---|
| 6 |
#include "AngelScriptPage.h" |
|---|
| 7 |
|
|---|
| 8 |
#ifdef _DEBUG |
|---|
| 9 |
#define new DEBUG_NEW |
|---|
| 10 |
#undef THIS_FILE |
|---|
| 11 |
static char THIS_FILE[] = __FILE__; |
|---|
| 12 |
#endif |
|---|
| 13 |
|
|---|
| 14 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 15 |
// CAngelScriptPage dialog |
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
CAngelScriptPage::CAngelScriptPage(CWnd* pParent /*=NULL*/) |
|---|
| 19 |
|
|---|
| 20 |
{ |
|---|
| 21 |
//{{AFX_DATA_INIT(CAngelScriptPage) |
|---|
| 22 |
// NOTE: the ClassWizard will add member initialization here |
|---|
| 23 |
//}}AFX_DATA_INIT |
|---|
| 24 |
} |
|---|
| 25 |
|
|---|
| 26 |
|
|---|
| 27 |
void CAngelScriptPage::DoDataExchange(CDataExchange* pDX) |
|---|
| 28 |
{ |
|---|
| 29 |
CDialog::DoDataExchange(pDX); |
|---|
| 30 |
//{{AFX_DATA_MAP(CAngelScriptPage) |
|---|
| 31 |
// NOTE: the ClassWizard will add DDX and DDV calls here |
|---|
| 32 |
//}}AFX_DATA_MAP |
|---|
| 33 |
} |
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
BEGIN_MESSAGE_MAP(CAngelScriptPage, CDialog) |
|---|
| 37 |
//{{AFX_MSG_MAP(CAngelScriptPage) |
|---|
| 38 |
ON_BN_CLICKED(IDC_BUTTON1, OnButton1) |
|---|
| 39 |
//}}AFX_MSG_MAP |
|---|
| 40 |
END_MESSAGE_MAP() |
|---|
| 41 |
|
|---|
| 42 |
///////////////////////////////////////////////////////////////////////////// |
|---|
| 43 |
// CAngelScriptPage message handlers |
|---|
| 44 |
|
|---|
| 45 |
void CAngelScriptPage::OnButton1() |
|---|
| 46 |
{ |
|---|
| 47 |
ShellExecute(GetSafeHwnd(),"open","http://www.angelcode.com/angelscript/",0,0,SW_SHOW); |
|---|
| 48 |
|
|---|
| 49 |
} |
|---|