Old fashion design for PC-104
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//----------------------------------------------------------------------------
// Laser Guard Ltd.
// Copyright � 2000-2002. All Rights Reserved.
// Version 1.0 01/01/2000
// Last modification: 08/10/2003
// PROJECT:
// SUBSYSTEM:
// FILE: RepairDlg.cpp
// AUTHOR: Sergey Chizhevskiy
// OVERVIEW
// ~~~~~~~~
// Source file of RepairDlg.cpp
//----------------------------------------------------------------------------
// RepairDlg.cpp : implementation file
//
#include "stdafx.h"
#include "chicago.h"
#include "RepairDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;#endif
/////////////////////////////////////////////////////////////////////////////
// CRepairDlg dialog
CRepairDlg::CRepairDlg(CWnd* pParent /*=NULL*/) : CDialog(CRepairDlg::IDD, pParent){ //{{AFX_DATA_INIT(CRepairDlg)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
void CRepairDlg::DoDataExchange(CDataExchange* pDX){ CDialog::DoDataExchange(pDX); //{{AFX_DATA_MAP(CRepairDlg)
DDX_Control(pDX, IDC_PROGRESS, m_Progress); //}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CRepairDlg, CDialog) //{{AFX_MSG_MAP(CRepairDlg)
ON_WM_TIMER() //}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CRepairDlg message handlers
BOOL CRepairDlg::OnInitDialog() { CDialog::OnInitDialog(); m_Progress.SetRange( 0, 100 ); m_Progress.SetPos( 0 );
SetTimer( 0, 100, NULL ); return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
void CRepairDlg::OnTimer(UINT nIDEvent) { if( m_Progress.GetPos() == 100 ) CDialog::OnOK(); else m_Progress.SetPos( m_Progress.GetPos() + 1 );
CDialog::OnTimer(nIDEvent);}
|