forked from baycom/poc32
-
Notifications
You must be signed in to change notification settings - Fork 0
/
splash.cpp
executable file
·59 lines (52 loc) · 1.63 KB
/
splash.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// splash.cpp : implementation file
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1995 Microsoft Corporation
// All rights reserved.
//
// This source code is only intended as a supplement to the
// Microsoft Foundation Classes Reference and related
// electronic documentation provided with the library.
// See these sources for detailed information regarding the
// Microsoft Foundation Classes product.
#include "stdafx.h"
#include "pex32.h"
#ifdef _DEBUG
#undef THIS_FILE
static char BASED_CODE THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CSplashWnd dialog
BEGIN_MESSAGE_MAP (CSplashWnd, CDialog)
//{{AFX_MSG_MAP(CSplashWnd)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP ()
void CSplashWnd::DoDataExchange (CDataExchange * pDX)
{
CDialog::DoDataExchange (pDX);
//{{AFX_DATA_MAP(CSplashWnd)
DDX_Text (pDX, IDC_VERSION, m_version);
//}}AFX_DATA_MAP
TRACE ("Do Data Exchange");
}
BOOL CSplashWnd::Create (CWnd * pParent)
{
//{{AFX_DATA_INIT(CSplashWnd)
m_version = _T ("");
//}}AFX_DATA_INIT
if (!CDialog::Create (CSplashWnd::IDD, pParent)) {
TRACE0 ("Warning: creation of CSplashWnd dialog failed\n");
return FALSE;
}
return TRUE;
}
BOOL CSplashWnd::OnInitDialog ()
{
m_version = _T ("V" APPVERSION " (" BUILD ")");
CDialog::OnInitDialog ();
CenterWindow ();
return TRUE; // return TRUE unless you set the focus to a control
}
/////////////////////////////////////////////////////////////////////////////
// CSplashWnd message handlers