summaryrefslogtreecommitdiffabout
path: root/ConfirmRRQDlg.cpp
Unidiff
Diffstat (limited to 'ConfirmRRQDlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--ConfirmRRQDlg.cpp67
1 files changed, 0 insertions, 67 deletions
diff --git a/ConfirmRRQDlg.cpp b/ConfirmRRQDlg.cpp
deleted file mode 100644
index 361ad14..0000000
--- a/ConfirmRRQDlg.cpp
+++ b/dev/null
@@ -1,67 +0,0 @@
1// ConfirmRRQDlg.cpp : implementation file
2//
3
4#include "stdafx.h"
5#include "PumpKIN.h"
6#include "ConfirmRRQDlg.h"
7#include "PumpKINDlg.h"
8
9#ifdef _DEBUG
10#define new DEBUG_NEW
11#undef THIS_FILE
12static char THIS_FILE[] = __FILE__;
13#endif
14
15/////////////////////////////////////////////////////////////////////////////
16// CConfirmRRQDlg dialog
17
18
19CConfirmRRQDlg::CConfirmRRQDlg(CWnd* pParent /*=NULL*/)
20 : CDialog(CConfirmRRQDlg::IDD, pParent)
21{
22 m_Daddy=NULL;
23 //{{AFX_DATA_INIT(CConfirmRRQDlg)
24 m_File = _T("");
25 m_Host = _T("");
26 //}}AFX_DATA_INIT
27}
28
29
30void CConfirmRRQDlg::DoDataExchange(CDataExchange* pDX)
31{
32 CDialog::DoDataExchange(pDX);
33 //{{AFX_DATA_MAP(CConfirmRRQDlg)
34 DDX_Text(pDX, IDC_FILE, m_File);
35 DDX_Text(pDX, IDC_HOST, m_Host);
36 //}}AFX_DATA_MAP
37}
38
39
40BEGIN_MESSAGE_MAP(CConfirmRRQDlg, CDialog)
41 //{{AFX_MSG_MAP(CConfirmRRQDlg)
42 ON_WM_TIMER()
43 //}}AFX_MSG_MAP
44END_MESSAGE_MAP()
45
46/////////////////////////////////////////////////////////////////////////////
47// CConfirmRRQDlg message handlers
48
49BOOL CConfirmRRQDlg::OnInitDialog()
50{
51 CDialog::OnInitDialog();
52
53 m_Daddy->m_Daddy->m_bnw.StartSound(m_Daddy->m_Daddy->m_bnwRequest);
54 if(m_Daddy->m_Daddy->m_PromptTimeOut)
55 SetTimer(1,m_Daddy->m_Daddy->m_PromptTimeOut*1000,NULL);
56 SetWindowPos(&CWnd::wndTopMost,0,0,0,0,SWP_NOACTIVATE|SWP_NOMOVE|SWP_NOSIZE);
57
58 return TRUE; // return TRUE unless you set the focus to a control
59 // EXCEPTION: OCX Property Pages should return FALSE
60}
61
62void CConfirmRRQDlg::OnTimer(UINT nIDEvent)
63{
64 if(nIDEvent==1)
65 EndDialog(IDCANCEL);
66 CDialog::OnTimer(nIDEvent);
67}