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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
|
/*
$Id: finished_page.cpp,v 1.3 2001/09/08 19:24:17 japj Exp $
------------------------------------------------------------------------
ClanLib, the platform independent game SDK.
This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
version 2. See COPYING for details.
For a total list of contributers see CREDITS.
------------------------------------------------------------------------
*/
// finished_page.cpp : implementation file
//
#include "stdafx.h"
#include "configure.h"
#include "finished_page.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFinishedPage property page
IMPLEMENT_DYNCREATE(CFinishedPage, CPropertyPage)
CFinishedPage::CFinishedPage() : CPropertyPage(CFinishedPage::IDD)
{
//{{AFX_DATA_INIT(CFinishedPage)
m_text = _T("");
//}}AFX_DATA_INIT
}
CFinishedPage::~CFinishedPage()
{
}
void CFinishedPage::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CFinishedPage)
DDX_Text(pDX, IDC_FINISHED_TEXT, m_text);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CFinishedPage, CPropertyPage)
//{{AFX_MSG_MAP(CFinishedPage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFinishedPage message handlers
BOOL CFinishedPage::OnInitDialog()
{
CPropertyPage::OnInitDialog();
m_text = "Congratulations!\n\n";
m_text += "You have finished the ClanLib configuration. Now press finish to finally ";
m_text += "produce the ClanLib workspace and its project files. ";
m_text += "When the installation process is completed, please open the ClanLib.dsw ";
m_text += "workspace that this wizard has produced for you.\n\n";
// TODO:
// If user created a Borland project, write another description.
UpdateData(FALSE);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
BOOL CFinishedPage::OnSetActive()
{
CPropertySheet* psheet = (CPropertySheet*) GetParent();
psheet->SetWizardButtons(PSWIZB_BACK | PSWIZB_FINISH);
return CPropertyPage::OnSetActive();
}
|