📄 setupdlg.cpp
字号:
//****************** Copyright 1999 Mobilink Telecom, Inc. *********************
//
// Description: Implements the CSetupDlg class.
//
// $RCSfile: SetupDlg.cpp $
// $Revision: 1.4 $
// $Date: 1999/06/09 19:35:51 $
// $Author: gdheinz $
//
//******************************** History *************************************
//
// $Log: SetupDlg.cpp $
// Revision 1.4 1999/06/09 19:35:51 gdheinz
// Save last IMEI and Version select in registry.
// Revision 1.3 1999/06/08 22:10:18 gdheinz
// Added documentation block
//
//******************************************************************************
// SetupDlg.cpp : implementation file
//
#include "stdafx.h"
#include "MTIcalibrate.h"
#include "MTIcalibrateDlg.h"
#include "SetupDlg.h"
#include "ParamList.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
extern CParamList* g_ParamList ;
/////////////////////////////////////////////////////////////////////////////
// CSetupDlg dialog
CSetupDlg::CSetupDlg(CWnd* pParent /*=NULL*/)
: CDialog(CSetupDlg::IDD, pParent)
{
//{{AFX_DATA_INIT(CSetupDlg)
//}}AFX_DATA_INIT
}
void CSetupDlg::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CSetupDlg)
DDX_Control(pDX, IDC_SETUP_IMEI, m_IMEI_Ctrl);
DDX_Control(pDX, IDC_SETUP_VERSION, m_Version_Ctrl);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CSetupDlg, CDialog)
//{{AFX_MSG_MAP(CSetupDlg)
ON_WM_DESTROY()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CSetupDlg message handlers
BOOL CSetupDlg::OnInitDialog()
{
CDialog::OnInitDialog();
long s ;
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CSetupDlg::OnDestroy()
{
CDialog::OnDestroy();
CString s ;
// GetDlgItemText ( IDC_SETUP_VERSION, s ) ;
// (UIF_GetMainDlg())->SetVersion ( s ) ;
GetDlgItemText ( IDC_SETUP_IMEI, m_IMEI_Select ) ;
GetDlgItemText ( IDC_SETUP_VERSION, m_Version_Select ) ;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -