summaryrefslogtreecommitdiff
path: root/Bus/IvyProbe
diff options
context:
space:
mode:
authorfcolin2007-02-01 13:09:18 +0000
committerfcolin2007-02-01 13:09:18 +0000
commit4aa76ea70b9ce90b3517c98b2a79281e87d27ffc (patch)
tree044733db1f8b1db6fc2b0599ac1ec4c280750424 /Bus/IvyProbe
parentf38594451b25a53977356ea3836d5d211541a15d (diff)
downloadivy-cplusplus-4aa76ea70b9ce90b3517c98b2a79281e87d27ffc.zip
ivy-cplusplus-4aa76ea70b9ce90b3517c98b2a79281e87d27ffc.tar.gz
ivy-cplusplus-4aa76ea70b9ce90b3517c98b2a79281e87d27ffc.tar.bz2
ivy-cplusplus-4aa76ea70b9ce90b3517c98b2a79281e87d27ffc.tar.xz
Utilisateur : Fcolin Date : 19/02/01 Heure : 10:39 Archivé dans $/Bus/Test (vss 2)
Diffstat (limited to 'Bus/IvyProbe')
-rw-r--r--Bus/IvyProbe/IvyProbe.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/Bus/IvyProbe/IvyProbe.cpp b/Bus/IvyProbe/IvyProbe.cpp
index 68259e6..e0afcfb 100644
--- a/Bus/IvyProbe/IvyProbe.cpp
+++ b/Bus/IvyProbe/IvyProbe.cpp
@@ -16,6 +16,7 @@ static char THIS_FILE[] = __FILE__;
BEGIN_MESSAGE_MAP(CTestApp, CWinApp)
//{{AFX_MSG_MAP(CTestApp)
+ ON_COMMAND(ID_APP_ABOUT, OnAppAbout)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
@@ -56,12 +57,13 @@ BOOL CTestApp::InitInstance()
// If you are not using these features and wish to reduce the size
// of your final executable, you should remove from the following
// the specific initialization routines you do not need.
-
+#ifndef UNDER_CE
#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif
+#endif
CTestDlg dlg;
m_pMainWnd = &dlg;
@@ -81,3 +83,9 @@ BOOL CTestApp::InitInstance()
// application, rather than start the application's message pump.
return FALSE;
}
+// App command to run the dialog
+void CTestApp::OnAppAbout()
+{
+ CAboutDlg aboutDlg;
+ aboutDlg.DoModal();
+}