diff options
author | fcolin | 2007-02-01 13:09:18 +0000 |
---|---|---|
committer | fcolin | 2007-02-01 13:09:18 +0000 |
commit | e6a2d8e3d46e0ce4a5d94a261066ffcdfd76ecda (patch) | |
tree | 232e0101cb4ac1b96ffeff9dd8eced2be95a8e9c /IvyProbe | |
parent | 179334803ebf8c0a72789f7b4bc80bde747d5592 (diff) | |
download | ivy-cplusplus-e6a2d8e3d46e0ce4a5d94a261066ffcdfd76ecda.zip ivy-cplusplus-e6a2d8e3d46e0ce4a5d94a261066ffcdfd76ecda.tar.gz ivy-cplusplus-e6a2d8e3d46e0ce4a5d94a261066ffcdfd76ecda.tar.bz2 ivy-cplusplus-e6a2d8e3d46e0ce4a5d94a261066ffcdfd76ecda.tar.xz |
Utilisateur : Fcolin Date : 19/02/01 Heure : 10:39 Archivé dans $/Bus/Test (vss 2)
Diffstat (limited to 'IvyProbe')
-rw-r--r-- | IvyProbe/IvyProbe.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/IvyProbe/IvyProbe.cpp b/IvyProbe/IvyProbe.cpp index 68259e6..e0afcfb 100644 --- a/IvyProbe/IvyProbe.cpp +++ b/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();
+}
|