00001
00002
00003
00004 #include "stdafx.h"
00005 #include "Asc2Map.h"
00006 #include "Asc2MapDlg.h"
00007
00008 #ifdef _DEBUG
00009 #define new DEBUG_NEW
00010 #endif
00011
00012
00013
00014
00015 BEGIN_MESSAGE_MAP(CAsc2MapApp, CWinApp)
00016 ON_COMMAND(ID_HELP, CWinApp::OnHelp)
00017 END_MESSAGE_MAP()
00018
00019
00020
00021
00022 CAsc2MapApp::CAsc2MapApp()
00023 {
00024
00025
00026 }
00027
00028
00029
00030
00031 CAsc2MapApp theApp;
00032
00033
00034
00035
00036 BOOL CAsc2MapApp::InitInstance()
00037 {
00038 CWinApp::InitInstance();
00039
00040 AfxEnableControlContainer();
00041
00042
00043 CAsc2MapDlg dlg;
00044 m_pMainWnd = &dlg;
00045 INT_PTR nResponse = dlg.DoModal();
00046 if (nResponse == IDOK)
00047 {
00048
00049
00050 }
00051 else if (nResponse == IDCANCEL)
00052 {
00053
00054
00055 }
00056
00057
00058
00059 return FALSE;
00060 }