home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 32 / IOPROG_32.ISO / SOFT / SqlEval7 / devtools / samples / ODBC / mfcperf / mfcperf.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-20  |  1.5 KB  |  54 lines

  1. // MFCPerf.h : main header file for the MFCPERF application
  2. //
  3. // This file is part of Microsoft SQL Server online documentation.
  4. // Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
  5. //
  6. // This source code is an intended supplement to the Microsoft SQL
  7. // Server online references and related electronic documentation.
  8. #ifndef __AFXWIN_H__
  9.     #error include 'stdafx.h' before including this file for PCH
  10. #endif
  11.  
  12. #include "resource.h"           // main symbols
  13. #include "msflexgr.h"
  14. #include "odbcss.h"
  15.  
  16. #define DEFAULT_LOGFILE         _T("\\stats.txt")
  17.  
  18. /////////////////////////////////////////////////////////////////////////////
  19. // CMFCPerfApp:
  20. // See MFCPerf.cpp for the implementation of this class
  21. class CMFCPerfApp : public CWinApp
  22. {
  23. public:
  24.     CMFCPerfApp();
  25.  
  26. // Overrides
  27.     // ClassWizard generated virtual function overrides
  28.     //{{AFX_VIRTUAL(CMFCPerfApp)
  29.     public:
  30.     virtual BOOL InitInstance();
  31.     //}}AFX_VIRTUAL
  32.  
  33. // Implementation
  34. protected:
  35.     void OnFileNewFast();
  36.     void OnFileNewSlow();
  37.  
  38. public:
  39.     //{{AFX_MSG(CMFCPerfApp)
  40.     afx_msg void OnAppAbout();
  41.     afx_msg void OnPerftestRuntest();
  42.     afx_msg void OnPerftestSetlogfilename();
  43.     //}}AFX_MSG
  44.     DECLARE_MESSAGE_MAP()
  45. };
  46.  
  47.  
  48. /////////////////////////////////////////////////////////////////////////////
  49. // Global Functions
  50. void SetForm(CWnd* wndFrame,
  51.              CEdit& editCompany, CEdit& editCountry,
  52.              CMSFlexGrid& gridOrders, CMSFlexGrid& gridDetails,
  53.              CStatic& staticClick, CStatic& staticToSee);
  54.