summaryrefslogtreecommitdiff
path: root/Bus/IvyProbe
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:09:22 +0000
committerfcolin2007-02-01 13:09:22 +0000
commitb2cb609970b2af5f3b37b256efc725bc69ef46da (patch)
treeb26d4655750f60c066ed33ae317400f31b9355eb /Bus/IvyProbe
parente5b9d5ac42b26a71597debd2d42a33928223d4d4 (diff)
downloadivy-cplusplus-b2cb609970b2af5f3b37b256efc725bc69ef46da.zip
ivy-cplusplus-b2cb609970b2af5f3b37b256efc725bc69ef46da.tar.gz
ivy-cplusplus-b2cb609970b2af5f3b37b256efc725bc69ef46da.tar.bz2
ivy-cplusplus-b2cb609970b2af5f3b37b256efc725bc69ef46da.tar.xz
Utilisateur : Fcolin Date : 21/02/03 Heure : 16:31 Archivé dans $/Bus/IvyProbe Commentaire: (vss 4)
Diffstat (limited to 'Bus/IvyProbe')
-rw-r--r--Bus/IvyProbe/IvyProbe.cpp19
1 files changed, 10 insertions, 9 deletions
diff --git a/Bus/IvyProbe/IvyProbe.cpp b/Bus/IvyProbe/IvyProbe.cpp
index 00eca87..f201abc 100644
--- a/Bus/IvyProbe/IvyProbe.cpp
+++ b/Bus/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();