www.pudn.com > 0369.rar > Begin.cpp
// Begin.cpp : implementation file
//
#include "stdafx.h"
#include "Welcome.h"
#include "Begin.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CBegin dialog
CBegin::CBegin(CWnd* pParent /*=NULL*/)
: CDialog(CBegin::IDD, pParent)
{
//{{AFX_DATA_INIT(CBegin)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CBegin::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CBegin)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CBegin, CDialog)
//{{AFX_MSG_MAP(CBegin)
ON_WM_TIMER()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CBegin message handlers
BOOL CBegin::OnInitDialog()
{
CDialog::OnInitDialog();
// TODO: Add extra initialization here
SetTimer(1,2000,NULL);
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CBegin::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default
KillTimer(1);
CDialog::OnCancel();
CDialog::OnTimer(nIDEvent);
}