home *** CD-ROM | disk | FTP | other *** search
/ Delphi 5 for Professionals / DELPHI5.iso / AddOns / Components / RealTime Graphics ActiveX / DATA.3 / Examples / CPP / UITools / UIToolsView.h < prev   
Encoding:
C/C++ Source or Header  |  1997-10-13  |  2.4 KB  |  90 lines

  1. // UIToolsView.h : interface of the CUIToolsView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4. //{{AFX_INCLUDES()
  5. #include "qcbutton.h"
  6. #include "qcgrpbut.h"
  7. #include "qcscrbar.h"
  8. //}}AFX_INCLUDES
  9.  
  10. #if !defined(AFX_UITOOLSVIEW_H__AA603A01_4351_11D1_825A_00C0F6A070DD__INCLUDED_)
  11. #define AFX_UITOOLSVIEW_H__AA603A01_4351_11D1_825A_00C0F6A070DD__INCLUDED_
  12.  
  13. #if _MSC_VER >= 1000
  14. #pragma once
  15. #endif // _MSC_VER >= 1000
  16.  
  17. class CUIToolsView : public CFormView
  18. {
  19. protected: // create from serialization only
  20.     CUIToolsView();
  21.     DECLARE_DYNCREATE(CUIToolsView)
  22.  
  23. public:
  24.     //{{AFX_DATA(CUIToolsView)
  25.     enum { IDD = IDD_UITOOLS_FORM };
  26.     CQCButton    m_RTBut1;
  27.     CQCButton    m_RTBut2;
  28.     CQCButton    m_RTBut3;
  29.     CQCGrpBut    m_RTGrpBut1;
  30.     CQCGrpBut    m_RTGrpBut2;
  31.     CQCScrBar    m_RTScrBar1;
  32.     CQCScrBar    m_RTScrBar2;
  33.     //}}AFX_DATA
  34.  
  35. // Attributes
  36. public:
  37.     CUIToolsDoc* GetDocument();
  38.  
  39. // Operations
  40. public:
  41.  
  42. // Overrides
  43.     // ClassWizard generated virtual function overrides
  44.     //{{AFX_VIRTUAL(CUIToolsView)
  45.     public:
  46.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  47.     virtual void OnInitialUpdate();
  48.     protected:
  49.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  50.     virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
  51.     virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
  52.     virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
  53.     virtual void OnPrint(CDC* pDC, CPrintInfo*);
  54.     //}}AFX_VIRTUAL
  55.  
  56. // Implementation
  57. public:
  58.     virtual ~CUIToolsView();
  59. #ifdef _DEBUG
  60.     virtual void AssertValid() const;
  61.     virtual void Dump(CDumpContext& dc) const;
  62. #endif
  63.     void BuildGraph1();
  64.     void BuildGraph2();
  65.     void BuildGraph3();
  66.     void BuildGraph4();
  67.     void BuildGraph5();
  68. protected:
  69.  
  70. // Generated message map functions
  71. protected:
  72.     //{{AFX_MSG(CUIToolsView)
  73.         // NOTE - the ClassWizard will add and remove member functions here.
  74.         //    DO NOT EDIT what you see in these blocks of generated code !
  75.     //}}AFX_MSG
  76.     DECLARE_MESSAGE_MAP()
  77. };
  78.  
  79. #ifndef _DEBUG  // debug version in UIToolsView.cpp
  80. inline CUIToolsDoc* CUIToolsView::GetDocument()
  81.    { return (CUIToolsDoc*)m_pDocument; }
  82. #endif
  83.  
  84. /////////////////////////////////////////////////////////////////////////////
  85.  
  86. //{{AFX_INSERT_LOCATION}}
  87. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  88.  
  89. #endif // !defined(AFX_UITOOLSVIEW_H__AA603A01_4351_11D1_825A_00C0F6A070DD__INCLUDED_)
  90.