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

  1. // PerfStatsView.h : header file
  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.  
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CPerfStatsView form view
  11. //{{AFX_INCLUDES()
  12. #include "msflexgr.h"
  13. //}}AFX_INCLUDES
  14.  
  15. #ifndef __AFXEXT_H__
  16. #include <afxext.h>
  17. #endif
  18.  
  19. class CPerfStatsView : public CFormView
  20. {
  21. protected:
  22.     CPerfStatsView();           // protected constructor used by dynamic creation
  23.     DECLARE_DYNCREATE(CPerfStatsView)
  24.  
  25. // Form Data
  26. public:
  27.     //{{AFX_DATA(CPerfStatsView)
  28.     enum { IDD = IDD_PERFSTATS_FORM };
  29.     CMSFlexGrid    m_gridStats;
  30.     //}}AFX_DATA
  31.  
  32. // Attributes
  33. public:
  34.  
  35. // Operations
  36. public:
  37.     CPerfStatsDoc* GetDocument();
  38.  
  39. // Overrides
  40.     // ClassWizard generated virtual function overrides
  41.     //{{AFX_VIRTUAL(CPerfStatsView)
  42.     public:
  43.     virtual void OnInitialUpdate();
  44.     protected:
  45.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46.     virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
  47.     //}}AFX_VIRTUAL
  48.  
  49. // Implementation
  50. protected:
  51.     virtual ~CPerfStatsView();
  52.  
  53. #ifdef _DEBUG
  54. public:
  55.     virtual void AssertValid() const;
  56.     virtual void Dump(CDumpContext& dc) const;
  57. #endif
  58.  
  59.     // Generated message map functions
  60.     //{{AFX_MSG(CPerfStatsView)
  61.         // NOTE - the ClassWizard will add and remove member functions here.
  62.     //}}AFX_MSG
  63.     DECLARE_MESSAGE_MAP()
  64. };
  65.  
  66. /////////////////////////////////////////////////////////////////////////////
  67. #ifndef _DEBUG  // debug version in PerfStatsView.cpp
  68. inline CPerfStatsDoc* CPerfStatsView::GetDocument()
  69.    { return (CPerfStatsDoc*)m_pDocument; }
  70. #endif
  71.