// DlgStartUp.cpp : implementation file // #include "stdafx.h" #include "sp.h" #include "DlgStartUp.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDlgStartUp dialog CDlgStartUp::CDlgStartUp(CWnd* pParent /*=NULL*/) : CDialog(CDlgStartUp::IDD, pParent) { //{{AFX_DATA_INIT(CDlgStartUp) // NOTE: the ClassWizard will add member initialization here //}}AFX_DATA_INIT } void CDlgStartUp::DoDataExchange(CDataExchange* pDX) { CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CDlgStartUp) DDX_Control(pDX, IDC_PG, m_pc); //}}AFX_DATA_MAP } BEGIN_MESSAGE_MAP(CDlgStartUp, CDialog) //{{AFX_MSG_MAP(CDlgStartUp) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDlgStartUp message handlers BOOL CDlgStartUp::OnInitDialog() { CDialog::OnInitDialog(); m_pc.SetRange(0,18); return TRUE; // return TRUE unless you set the focus to a control // EXCEPTION: OCX Property Pages should return FALSE }