Questo sito utilizza cookies, anche di terze parti, per mostrare pubblicità e servizi in linea con il tuo account. Leggi l'informativa sui cookies.
Username: Password: oppure
RSEnalotto 1.0 - Superenalotto.cpp

Superenalotto.cpp

Caricato da: Piero Tofy
Scarica il programma completo

  1. // Superenalotto.cpp : Defines the class behaviors for the application.
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "Superenalotto.h"
  6. #include "SuperenalottoDlg.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. // CSuperenalottoApp
  16.  
  17. BEGIN_MESSAGE_MAP(CSuperenalottoApp, CWinApp)
  18.         //{{AFX_MSG_MAP(CSuperenalottoApp)
  19.         //}}AFX_MSG
  20.         ON_COMMAND(ID_HELP, CWinApp::OnHelp)
  21. END_MESSAGE_MAP()
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CSuperenalottoApp construction
  25.  
  26. CSuperenalottoApp::CSuperenalottoApp()
  27. {
  28. }
  29.  
  30. /////////////////////////////////////////////////////////////////////////////
  31. // The one and only CSuperenalottoApp object
  32.  
  33. CSuperenalottoApp theApp;
  34.  
  35. /////////////////////////////////////////////////////////////////////////////
  36. // CSuperenalottoApp initialization
  37.  
  38. BOOL CSuperenalottoApp::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.         CSuperenalottoDlg dlg;
  49.         m_pMainWnd = &dlg;
  50.         int nResponse = dlg.DoModal();
  51.         if (nResponse == IDOK)
  52.         {
  53.         }
  54.         else if (nResponse == IDCANCEL)
  55.         {
  56.         }
  57.  
  58.         // Since the dialog has been closed, return FALSE so that we exit the
  59.         //  application, rather than start the application's message pump.
  60.         return FALSE;
  61. }