home *** CD-ROM | disk | FTP | other *** search
- #include "stdafx.h"
- #include "datentry.h"
- #include "dateDlg.h"
-
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
-
-
- BEGIN_MESSAGE_MAP(CDatentryApp, CWinApp)
- //{{AFX_MSG_MAP(CDatentryApp)
- //}}AFX_MSG
- ON_COMMAND(ID_HELP, CWinApp::OnHelp)
- END_MESSAGE_MAP()
-
-
- CDatentryApp::CDatentryApp()
- {
- }
-
-
- //the one and only app
- CDatentryApp theApp;
-
-
-
- BOOL CDatentryApp::InitInstance()
- {
- Enable3dControls();
-
- InitDTime();
-
- //bring up the dialog to demo DTime data entry
- CDatentryDlg dlg;
- m_pMainWnd = &dlg;
- int nResponse = dlg.DoModal();
-
- return FALSE;
- }
-
- int CDatentryApp::ExitInstance()
- {
- return CWinApp::ExitInstance();
- }
-
-
-