PropertySheet.cpp 850 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // PropertySheet.cpp : Defines the class behaviors for the application.
  2. //
  3. #include "stdafx.h"
  4. #include "PropertySheet.h"
  5. #include "Dlg.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // CApp
  13. BEGIN_MESSAGE_MAP(CApp, CWinApp)
  14. //{{AFX_MSG_MAP(CApp)
  15. //}}AFX_MSG
  16. END_MESSAGE_MAP()
  17. /////////////////////////////////////////////////////////////////////////////
  18. // CApp construction
  19. CApp::CApp()
  20. {
  21. }
  22. /////////////////////////////////////////////////////////////////////////////
  23. // The one and only CApp object
  24. CApp theApp;
  25. /////////////////////////////////////////////////////////////////////////////
  26. // CApp initialization
  27. BOOL CApp::InitInstance()
  28. {
  29. CDlg dlg;
  30. m_pMainWnd = &dlg;
  31. dlg.DoModal();
  32. return FALSE;
  33. }