// SplashDialog.cpp : implementation file // #include "stdafx.h" #include "ScrollTime.h" #include "SplashDialog.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // SplashDialog dialog SplashDialog::SplashDialog(CWnd* pParent /*=NULL*/) : CDialog(SplashDialog::IDD, pParent) { //{{AFX_DATA_INIT(SplashDialog) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } BEGIN_MESSAGE_MAP(SplashDialog, CDialog) //{{AFX_MSG_MAP(SplashDialog) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // SplashDialog message handlers BOOL SplashDialog::Create(CWnd* pParent) { //{{AFX_DATA_INIT(CSplashWnd) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT if (!CDialog::Create(SplashDialog::IDD, pParent)) { TRACE0("Warning: creation of SplashDialog dialog failed\n"); return FALSE; } return TRUE; } BOOL SplashDialog::OnInitDialog() { CDialog::OnInitDialog(); CenterWindow(); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }