Files
itgmania212121/stepmania/src/smpackage/EnterName.cpp
T

54 lines
1.0 KiB
C++
Raw Normal View History

2003-02-06 23:15:21 +00:00
// EnterName.cpp : implementation file
//
2005-12-10 08:23:10 +00:00
#define CO_EXIST_WITH_MFC
#include "global.h"
2003-02-06 23:15:21 +00:00
#include "stdafx.h"
#include "smpackage.h"
#include "EnterName.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// EnterName dialog
EnterName::EnterName(CWnd* pParent /*=NULL*/)
: CDialog(EnterName::IDD, pParent)
{
//{{AFX_DATA_INIT(EnterName)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void EnterName::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(EnterName)
DDX_Control(pDX, IDC_EDIT, m_edit);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(EnterName, CDialog)
//{{AFX_MSG_MAP(EnterName)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// EnterName message handlers
void EnterName::OnOK()
{
// TODO: Add extra validation here
m_edit.GetWindowText( m_sEnteredName );
CDialog::OnOK();
}