# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

tile_edit_exe.cpp

Go to the documentation of this file.
00001 // tile_edit_exe.cpp : Defines the class behaviors for the application.
00002 //
00003 
00004 #include "stdafx.h"
00005 #include "tile_edit_exe.h"
00006 #include "SelectionTerritoire.h"
00007 #include "checkversion.h"
00008 
00009 #ifdef _DEBUG
00010 #define new DEBUG_NEW
00011 #undef THIS_FILE
00012 static char THIS_FILE[] = __FILE__;
00013 #endif
00014 
00016 // CTile_edit_exeApp
00017 
00018 BEGIN_MESSAGE_MAP(CTile_edit_exeApp, CWinApp)
00019         //{{AFX_MSG_MAP(CTile_edit_exeApp)
00020         ON_BN_CLICKED(ID_SAVE_AS, OnSaveAs)
00021         //}}AFX_MSG_MAP
00022         ON_COMMAND(ID_HELP, CWinApp::OnHelp)
00023 END_MESSAGE_MAP()
00024 
00026 // CTile_edit_exeApp construction
00027 
00028 CTile_edit_exeApp::CTile_edit_exeApp()
00029 {
00030         // TODO: add construction code here,
00031         // Place all significant initialization in InitInstance
00032 }
00033 
00035 // The one and only CTile_edit_exeApp object
00036 
00037 CTile_edit_exeApp theApp;
00038 
00040 // CTile_edit_exeApp initialization
00041 
00042 BOOL CTile_edit_exeApp::InitInstance()
00043 {
00044 //      AfxEnableControlContainer();
00045 
00046         // Standard initialization
00047         // If you are not using these features and wish to reduce the size
00048         //  of your final executable, you should remove from the following
00049         //  the specific initialization routines you do not need.
00050 
00051         // Check version
00052         static bool bPassed=false;
00053         if (!bPassed)
00054         {
00055                 CheckPluginVersion ("tile edit\\tile_edit.exe");
00056                 bPassed=true;
00057         }
00058 
00059         Start();
00060 
00061         // Since the dialog has been closed, return FALSE so that we exit the
00062         //  application, rather than start the application's message pump.
00063         return FALSE;
00064 }
00065 
00066 void CTile_edit_exeApp::OnSaveAs() 
00067 {
00068         // TODO: Add your control notification handler code here
00069         
00070 }