//Download by http://www.NewXing.com // LogoDlg.cpp : implementation file // #include "stdafx.h" #include "d.h" #include "LogoDlg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CLogoDlg dialog CLogoDlg::CLogoDlg(CWnd* pParent /*=NULL*/) : CDialog(CLogoDlg::IDD, pParent) { //{{AFX_DATA_INIT(CLogoDlg) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CLogoDlg::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CLogoDlg) // NOTE: the ClassWizard will add DDX and DDV calls here //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CLogoDlg, CDialog) //{{AFX_MSG_MAP(CLogoDlg) ON_WM_LBUTTONDOWN() //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CLogoDlg message handlers void CLogoDlg::OnLButtonDown(UINT nFlags, CPoint point) { // CDialog::OnLButtonDown(nFlags, point); new CFaderWnd(this,500); CDialog::OnOK(); } void CLogoDlg::OnOK() { new CFaderWnd(this,500); CDialog::OnOK(); }