www.pudn.com > CraftFTP_gb.rar > ConnectWizardPage1.cpp
// ConnectWizardPage1.cpp : implementation file
//
#include "stdafx.h"
#include "CraftFTP.h"
#include "ConnectWizardPage1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CConnectWizardPage1 property page
const DWORD CConnectWizardPage1::m_nHelpIDs[] =
{
IDC_STATIC_CONNECT_WIZARD, HIDC_STATIC_CONNECT_WIZARD,
0 , 0
};
IMPLEMENT_DYNCREATE(CConnectWizardPage1, CPropertyPageExt)
CConnectWizardPage1::CConnectWizardPage1() : CPropertyPageExt(CConnectWizardPage1::IDD)
{
//{{AFX_DATA_INIT(CConnectWizardPage1)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
CConnectWizardPage1::~CConnectWizardPage1()
{
}
void CConnectWizardPage1::DoDataExchange(CDataExchange* pDX)
{
CPropertyPageExt::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CConnectWizardPage1)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CConnectWizardPage1, CPropertyPageExt)
//{{AFX_MSG_MAP(CConnectWizardPage1)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CConnectWizardPage1 message handlers
BOOL CConnectWizardPage1::OnSetActive()
{
// TODO: Add your specialized code here and/or call the base class
CPropertySheet * pSheet = (CPropertySheet*)GetParent();
ASSERT_KINDOF(CPropertySheet, pSheet);
pSheet->SetWizardButtons(PSWIZB_NEXT);
/*
CWnd * pCtrl = pSheet->GetDlgItem(ID_WIZBACK);
ASSERT_VALID(pCtrl);
pCtrl->ShowWindow(SW_HIDE);
*/
return CPropertyPageExt::OnSetActive();
}