00001 // 00002 // WizardWelcomePage.cpp 00003 // 00004 // Copyright (c) Shareaza Development Team, 2002-2005. 00005 // This file is part of SHAREAZA (www.shareaza.com) 00006 // 00007 // Shareaza is free software; you can redistribute it 00008 // and/or modify it under the terms of the GNU General Public License 00009 // as published by the Free Software Foundation; either version 2 of 00010 // the License, or (at your option) any later version. 00011 // 00012 // Shareaza is distributed in the hope that it will be useful, 00013 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 // GNU General Public License for more details. 00016 // 00017 // You should have received a copy of the GNU General Public License 00018 // along with Shareaza; if not, write to the Free Software 00019 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 // 00021 00022 #include "StdAfx.h" 00023 #include "Shareaza.h" 00024 #include "WizardSheet.h" 00025 #include "WizardWelcomePage.h" 00026 #include "Skin.h" 00027 00028 #ifdef _DEBUG 00029 #define new DEBUG_NEW 00030 #undef THIS_FILE 00031 static char THIS_FILE[] = __FILE__; 00032 #endif 00033 00034 IMPLEMENT_DYNCREATE(CWizardWelcomePage, CWizardPage) 00035 00036 BEGIN_MESSAGE_MAP(CWizardWelcomePage, CWizardPage) 00037 //{{AFX_MSG_MAP(CWizardWelcomePage) 00038 //}}AFX_MSG_MAP 00039 END_MESSAGE_MAP() 00040 00041 00043 // CWizardWelcomePage property page 00044 00045 CWizardWelcomePage::CWizardWelcomePage() : CWizardPage(CWizardWelcomePage::IDD) 00046 { 00047 //{{AFX_DATA_INIT(CWizardWelcomePage) 00048 //}}AFX_DATA_INIT 00049 } 00050 00051 CWizardWelcomePage::~CWizardWelcomePage() 00052 { 00053 } 00054 00055 void CWizardWelcomePage::DoDataExchange(CDataExchange* pDX) 00056 { 00057 CPropertyPage::DoDataExchange(pDX); 00058 //{{AFX_DATA_MAP(CWizardWelcomePage) 00059 //}}AFX_DATA_MAP 00060 } 00061 00063 // CWizardWelcomePage message handlers 00064 00065 BOOL CWizardWelcomePage::OnInitDialog() 00066 { 00067 CWizardPage::OnInitDialog(); 00068 00069 Skin.Apply( _T("CWizardWelcomePage"), this ); 00070 00071 SetWizardButtons( PSWIZB_NEXT ); 00072 00073 return TRUE; 00074 } 00075 00076 BOOL CWizardWelcomePage::OnSetActive() 00077 { 00078 SetWizardButtons( PSWIZB_NEXT ); 00079 return CWizardPage::OnSetActive(); 00080 }