summaryrefslogtreecommitdiff
path: root/IvyProbe/IvyProbe.cpp
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:09:22 +0000
committerfcolin2007-02-01 13:09:22 +0000
commitbe6b2906b41ec652689fa946e84d70fc1f882df4 (patch)
tree902df8a7bfd89a2828d2560a9e3b1f724c6288c8 /IvyProbe/IvyProbe.cpp
parent2e62a1c09769fbbc11af46310f1ac4f429294298 (diff)
downloadivy-cplusplus-be6b2906b41ec652689fa946e84d70fc1f882df4.zip
ivy-cplusplus-be6b2906b41ec652689fa946e84d70fc1f882df4.tar.gz
ivy-cplusplus-be6b2906b41ec652689fa946e84d70fc1f882df4.tar.bz2
ivy-cplusplus-be6b2906b41ec652689fa946e84d70fc1f882df4.tar.xz
Utilisateur : Fcolin Date : 21/02/03 Heure : 16:31 Archivé dans $/Bus/IvyProbe Commentaire: (vss 4)
Diffstat (limited to 'IvyProbe/IvyProbe.cpp')
-rw-r--r--IvyProbe/IvyProbe.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/IvyProbe/IvyProbe.cpp b/IvyProbe/IvyProbe.cpp
index 00eca87..f201abc 100644
--- a/IvyProbe/IvyProbe.cpp
+++ b/IvyProbe/IvyProbe.cpp
@@ -2,8 +2,8 @@
//
#include "stdafx.h"
-#include "Test.h"
-#include "TestDlg.h"
+#include "IvyProbe.h"
+#include "IvyProbeDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
@@ -14,7 +14,7 @@ static char THIS_FILE[] = __FILE__;
/////////////////////////////////////////////////////////////////////////////
// CTestApp
-BEGIN_MESSAGE_MAP(CTestApp, CWinApp)
+BEGIN_MESSAGE_MAP(CIvyProbeApp, CWinApp)
//{{AFX_MSG_MAP(CTestApp)
ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
@@ -26,7 +26,7 @@ END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CTestApp construction
-CTestApp::CTestApp()
+CIvyProbeApp::CIvyProbeApp()
{
// TODO: add construction code here,
// Place all significant initialization in InitInstance
@@ -35,12 +35,12 @@ CTestApp::CTestApp()
/////////////////////////////////////////////////////////////////////////////
// The one and only CTestApp object
-CTestApp theApp;
+CIvyProbeApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CTestApp initialization
-BOOL CTestApp::InitInstance()
+BOOL CIvyProbeApp::InitInstance()
{
// CG: The following block was added by the Windows Sockets component.
{
@@ -51,7 +51,7 @@ BOOL CTestApp::InitInstance()
}
}
- AfxEnableControlContainer();
+ //AfxEnableControlContainer();
// Standard initialization
// If you are not using these features and wish to reduce the size
@@ -60,12 +60,13 @@ BOOL CTestApp::InitInstance()
#ifndef UNDER_CE
#ifdef _AFXDLL
//Enable3dControls(); // Call this when using MFC in a shared DLL
+ InitCommonControls();
#else
//Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
#endif
- CTestDlg dlg;
+ CIvyProbeDlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
@@ -84,7 +85,7 @@ BOOL CTestApp::InitInstance()
return FALSE;
}
// App command to run the dialog
-void CTestApp::OnAppAbout()
+void CIvyProbeApp::OnAppAbout()
{
CAboutDlg aboutDlg;
aboutDlg.DoModal();