home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / ba / usevideo / videomfc / vdmfcdlg.h < prev    next >
C/C++ Source or Header  |  1997-08-29  |  2KB  |  80 lines

  1. //
  2. // VdMFCDlg.h: Defines the CVdMFCDlg class, which defines the
  3. //             behavior of the application's main dialog. 
  4. //
  5. // Copyright (C) 1997 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // Broadcast Architecture Programmer's Reference.
  10. // For detailed information regarding Broadcast
  11. // Architecture, see the reference.
  12. //
  13. //{{AFX_INCLUDES()
  14. #include "bpcvid.h"
  15. #include "bpcbase.h"
  16. #include "bpcdev.h"
  17. #include "vidtypes.h"
  18. //}}AFX_INCLUDES
  19.  
  20. #if !defined(AFX_VDMFCDLG_H__4E088A08_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  21. #define AFX_VDMFCDLG_H__4E088A08_0E75_11D1_A073_00A0C9054174__INCLUDED_
  22.  
  23. #if _MSC_VER >= 1000
  24. #pragma once
  25. #endif // _MSC_VER >= 1000
  26.  
  27. /////////////////////////////////////////////////////////////////////////////
  28. // CVdMFCDlg dialog
  29.  
  30. class CVdMFCDlg : public CDialog
  31. {
  32. // Construction
  33. public:
  34.     CVdMFCDlg(CWnd* pParent = NULL);    // standard constructor
  35.  
  36. // Dialog Data
  37.     //{{AFX_DATA(CVdMFCDlg)
  38.     enum { IDD = IDD_VDMFC_DIALOG };
  39.     CBPCVid    m_CVid;
  40.     long    m_channel;
  41.     CString    m_filename;
  42.     //}}AFX_DATA
  43.  
  44.     // ClassWizard generated virtual function overrides
  45.     //{{AFX_VIRTUAL(CVdMFCDlg)
  46.     protected:
  47.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  48.     //}}AFX_VIRTUAL
  49.  
  50. // Implementation
  51. protected:
  52.     CListBox box;
  53.     CBPCDeviceBase m_id;
  54.     HICON m_hIcon;
  55.  
  56.     // Generated message map functions
  57.     //{{AFX_MSG(CVdMFCDlg)
  58.     virtual BOOL OnInitDialog();
  59.     afx_msg void OnPaint();
  60.     afx_msg HCURSOR OnQueryDragIcon();
  61.     afx_msg void OnSetChannel();
  62.     afx_msg void OnPause();
  63.     afx_msg void OnVideoOn();
  64.     afx_msg void OnStop();
  65.     afx_msg void OnSetInput();
  66.     afx_msg void OnSetOutput();
  67.     afx_msg void OnPlay();
  68.     afx_msg void OnSetFile();
  69.     //}}AFX_MSG
  70.  
  71.     DECLARE_MESSAGE_MAP()
  72. private:
  73.     IBPCDeviceBase* m_pDeviceBase;
  74. };
  75.  
  76. //{{AFX_INSERT_LOCATION}}
  77. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  78.  
  79. #endif // !defined(AFX_VDMFCDLG_H__4E088A08_0E75_11D1_A073_00A0C9054174__INCLUDED_)
  80.