home *** CD-ROM | disk | FTP | other *** search
/ Master Visual C++ 1.5 / MASTERVC15.ISO / vcprog / original / ch25 / cd / cdview.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-06  |  1.1 KB  |  54 lines

  1. // cdview.h : header file
  2. //
  3.  
  4. /////////////////////////////////////////////////////////////////////////////
  5. // CCdView form view
  6.  
  7. #ifndef __AFXEXT_H__
  8. #include <afxext.h>
  9. #endif
  10.  
  11. class CCdView : public CFormView
  12. {
  13.     DECLARE_DYNCREATE(CCdView)
  14. protected:
  15.     CCdView();            // 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. // Form Data
  28. public:
  29.     //{{AFX_DATA(CCdView)
  30.     enum { IDD = IDD_DIALOG1 };
  31.     CVBControl*    m_cd;
  32.     BYTE    m_CurrentTrack;
  33.     //}}AFX_DATA
  34.  
  35. // Attributes
  36. public:
  37.  
  38. // Operations
  39. public:
  40.  
  41. // Implementation
  42. protected:
  43.     virtual ~CCdView();
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     // Generated message map functions
  46.     //{{AFX_MSG(CCdView)
  47.     afx_msg void OnButtonLoad();
  48.     afx_msg void OnStatusupdateTegommCd(UINT, int, CWnd*, LPVOID);
  49.     //}}AFX_MSG
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.  
  53. /////////////////////////////////////////////////////////////////////////////
  54.