home *** CD-ROM | disk | FTP | other *** search
/ Master Visual C++ 1.5 / MASTERVC15.ISO / vcprog / original / ch31 / mygraph / mygravw.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-09  |  1.4 KB  |  65 lines

  1. // mygravw.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CMygraphView form view
  6.  
  7. #ifndef __AFXEXT_H__
  8. #include <afxext.h>
  9. #endif
  10.  
  11. class CMygraphView : public CFormView
  12. {
  13.     DECLARE_DYNCREATE(CMygraphView)
  14. protected:
  15.     CMygraphView();            // protected constructor used by dynamic creation
  16.  
  17.     //////////////////////
  18.     // MY CODE STARTS HERE
  19.     //////////////////////
  20.  
  21.     virtual void OnInitialUpdate();
  22.  
  23.     ////////////////////
  24.     // MY CODE ENDS HERE
  25.     ////////////////////
  26.  
  27.  
  28. // Form Data
  29. public:
  30.     //{{AFX_DATA(CMygraphView)
  31.     enum { IDD = IDD_DIALOG1 };
  32.     CVBControl*    m_graph;
  33.     //}}AFX_DATA
  34.  
  35. // Attributes
  36. public:
  37.  
  38. // Operations
  39. public:
  40.  
  41. // Implementation
  42. protected:
  43.     virtual ~CMygraphView();
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CMygraphView)
  47.     afx_msg void OnSecondButton();
  48.     afx_msg void OnPrintButton();
  49.     afx_msg void OnButton1();
  50.     afx_msg void OnButton2();
  51.     afx_msg void OnButton3();
  52.     afx_msg void OnButton4();
  53.     afx_msg void OnButton5();
  54.     afx_msg void OnButton6();
  55.     afx_msg void OnButton7();
  56.     afx_msg void OnButton8();
  57.     afx_msg void OnButton9();
  58.     afx_msg void OnButton10();
  59.     afx_msg void OnClickGraph1(UINT, int, CWnd*, LPVOID);
  60.     //}}AFX_MSG
  61.     DECLARE_MESSAGE_MAP()
  62. };
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65.