home *** CD-ROM | disk | FTP | other *** search
/ The Houseplan Collection / HRCD2005.ISO / data1.cab / Zusatz / 3DS / DATA2.Z / DachHolzkonstruction.cpp < prev    next >
C/C++ Source or Header  |  1999-04-28  |  2KB  |  64 lines

  1. // DachHolzkonstruction.cpp : Defines the class behaviors for the application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "DachHolzkonstruction.h"
  6. #include "DachHolzkonstructionDlg.h"
  7.  
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CDachHolzkonstructionApp
  16.  
  17. BEGIN_MESSAGE_MAP(CDachHolzkonstructionApp, CWinApp)
  18.     //{{AFX_MSG_MAP(CDachHolzkonstructionApp)
  19.     //}}AFX_MSG
  20.     ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  21. END_MESSAGE_MAP()
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CDachHolzkonstructionApp construction
  25.  
  26. CDachHolzkonstructionApp::CDachHolzkonstructionApp()
  27. {
  28. }
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // The one and only CDachHolzkonstructionApp object
  32.  
  33. CDachHolzkonstructionApp theApp;
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CDachHolzkonstructionApp initialization
  37.  
  38. BOOL CDachHolzkonstructionApp::InitInstance()
  39. {
  40.     // Standard initialization
  41.  
  42. #ifdef _AFXDLL
  43.     Enable3dControls();            // Call this when using MFC in a shared DLL
  44. #else
  45.     Enable3dControlsStatic();    // Call this when linking to MFC statically
  46. #endif
  47.  
  48.   AfxOleInit();
  49.  
  50.     CDachHolzkonstructionDlg dlg;
  51.     m_pMainWnd = &dlg;
  52.     int nResponse = dlg.DoModal();
  53.     if (nResponse == IDOK)
  54.     {
  55.     }
  56.     else if (nResponse == IDCANCEL)
  57.     {
  58.     }
  59.  
  60.     // Since the dialog has been closed, return FALSE so that we exit the
  61.     //  application, rather than start the application's message pump.
  62.     return FALSE;
  63. }
  64.