home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / database / daoview / daoview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-03-27  |  1.7 KB  |  59 lines

  1. // DaoView.h : main header file for the DAOVIEW application
  2. //
  3. // This is a part of the Microsoft Foundation Classes C++ library.
  4. // Copyright (C) 1992-1998 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // This source code is only intended as a supplement to the
  8. // Microsoft Foundation Classes Reference and related
  9. // electronic documentation provided with the library.
  10. // See these sources for detailed information regarding the
  11. // Microsoft Foundation Classes product.
  12.  
  13. #ifndef __AFXWIN_H__
  14.     #error include 'stdafx.h' before including this file for PCH
  15. #endif
  16.  
  17. #include "resource.h"       // main symbols
  18. #include "DaovwDoc.h"       // Document
  19. #include "Crack.h"          // Type conversion helpers
  20. #include "TreeView.h"       // Left hand side view
  21. #include "ListView.h"       // Right hand side view
  22.  
  23. /////////////////////////////////////////////////////////////////////////////
  24. // CDaoViewApp:
  25. // See DaoView.cpp for the implementation of this class
  26. //
  27.  
  28. class CDaoViewApp : public CWinApp
  29. {
  30. public:
  31.     CDaoViewApp();
  32.  
  33.     BOOL m_bShowSystemObjects;
  34.     BOOL m_bShowWarnings;
  35.     BOOL m_bOpenODBC;
  36.     BOOL m_nMaxRecords;
  37.  
  38. // Overrides
  39.     // ClassWizard generated virtual function overrides
  40.     //{{AFX_VIRTUAL(CDaoViewApp)
  41.     public:
  42.     virtual BOOL InitInstance();
  43.     //}}AFX_VIRTUAL
  44.  
  45. // Implementation
  46.  
  47.     //{{AFX_MSG(CDaoViewApp)
  48.     afx_msg void OnAppAbout();
  49.         // NOTE - the ClassWizard will add and remove member functions here.
  50.         //    DO NOT EDIT what you see in these blocks of generated code !
  51.     //}}AFX_MSG
  52.     DECLARE_MESSAGE_MAP()
  53. };
  54.  
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57.  
  58. void DisplayDaoException(CDaoException* e);
  59.