From be6b2906b41ec652689fa946e84d70fc1f882df4 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 13:09:22 +0000 Subject: Utilisateur : Fcolin Date : 21/02/03 Heure : 16:31 Archivé dans $/Bus/IvyProbe Commentaire: (vss 4) --- IvyProbe/IvyProbe.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'IvyProbe') 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(); -- cgit v1.1