Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

AbortDialog.cpp

Go to the documentation of this file.
00001 // AbortDialog.cpp : implementation file
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "3dvis.h"
00006 #include "mainfrm.h"
00007 #include "AbortDialog.h"
00008 
00009 
00010 
00011 #ifdef _DEBUG
00012 #define new DEBUG_NEW
00013 #undef THIS_FILE
00014 static char THIS_FILE[] = __FILE__;
00015 #endif
00016 
00018 // CAbortDialog dialog
00019 
00020 
00021 CAbortDialog::CAbortDialog(CWnd* pParent /*=NULL*/)
00022         : CDialog(CAbortDialog::IDD, pParent)
00023 {
00024         //{{AFX_DATA_INIT(CAbortDialog)
00025                 // NOTE: the ClassWizard will add member initialization here
00026         //}}AFX_DATA_INIT
00027 }
00028 
00029 
00030 void CAbortDialog::DoDataExchange(CDataExchange* pDX)
00031 {
00032         CDialog::DoDataExchange(pDX);
00033         //{{AFX_DATA_MAP(CAbortDialog)
00034                 // NOTE: the ClassWizard will add DDX and DDV calls here
00035         //}}AFX_DATA_MAP
00036 }
00037 
00038 
00039 BEGIN_MESSAGE_MAP(CAbortDialog, CDialog)
00040         //{{AFX_MSG_MAP(CAbortDialog)
00041         ON_BN_CLICKED(ID_ABORT, OnAbort)
00042         ON_WM_SHOWWINDOW()
00043         //}}AFX_MSG_MAP
00044 END_MESSAGE_MAP()
00045 
00046 
00047 // CAbortDialog message handlers
00048 
00049 void CAbortDialog::OnAbort() 
00050 {
00051         // TODO: Add extra cleanup here
00052         ((CMainFrame *)AfxGetMainWnd())->SendMessage(MYWM_ABORT);
00053         ShowWindow(SW_HIDE);
00054 
00055         CDialog::OnCancel();
00056 }
00057 
00058 void CAbortDialog::OnShowWindow(BOOL bShow, UINT nStatus) 
00059 {
00060         CDialog::OnShowWindow(bShow, nStatus);
00061         
00062         // TODO: Add your message handler code here
00063         if (!bShow)
00064                 return;
00065         
00066 }

Generated on Thu Jan 23 12:32:15 2003 by doxygen1.3-rc2