home *** CD-ROM | disk | FTP | other *** search
- // MFCPerf.h : main header file for the MFCPERF application
- //
- // This file is part of Microsoft SQL Server online documentation.
- // Copyright (C) 1992-1997 Microsoft Corporation. All rights reserved.
- //
- // This source code is an intended supplement to the Microsoft SQL
- // Server online references and related electronic documentation.
- #ifndef __AFXWIN_H__
- #error include 'stdafx.h' before including this file for PCH
- #endif
-
- #include "resource.h" // main symbols
- #include "msflexgr.h"
- #include "odbcss.h"
-
- #define DEFAULT_LOGFILE _T("\\stats.txt")
-
- /////////////////////////////////////////////////////////////////////////////
- // CMFCPerfApp:
- // See MFCPerf.cpp for the implementation of this class
- class CMFCPerfApp : public CWinApp
- {
- public:
- CMFCPerfApp();
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CMFCPerfApp)
- public:
- virtual BOOL InitInstance();
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
- void OnFileNewFast();
- void OnFileNewSlow();
-
- public:
- //{{AFX_MSG(CMFCPerfApp)
- afx_msg void OnAppAbout();
- afx_msg void OnPerftestRuntest();
- afx_msg void OnPerftestSetlogfilename();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
-
-
- /////////////////////////////////////////////////////////////////////////////
- // Global Functions
- void SetForm(CWnd* wndFrame,
- CEdit& editCompany, CEdit& editCountry,
- CMSFlexGrid& gridOrders, CMSFlexGrid& gridDetails,
- CStatic& staticClick, CStatic& staticToSee);
-