FrameViewerDlg.h
资源名称:VC++视频传输.rar [点击查看]
上传用户:hxb_1234
上传日期:2010-03-30
资源大小:8328k
文件大小:1k
源码类别:
VC书籍
开发平台:
Visual C++
- #if !defined(AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_)
- #define AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // FrameViewerDlg.h : header file
- //
- /////////////////////////////////////////////////////////////////////////////
- // CFrameViewerDlg dialog
- #include "vfw.h"
- #include "InputFile.h"
- #include "VideoSource.h"
- #include "AudioSource.h"
- class CFrameViewerDlg : public CDialog
- {
- // Construction
- public:
- CFrameViewerDlg(CWnd* pParent = NULL); // standard constructor
- void Init(int num, CString path);
- // Dialog Data
- //{{AFX_DATA(CFrameViewerDlg)
- enum { IDD = IDD_FRAMEVIEWER };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CFrameViewerDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- int frame, width, height;
- CString avipath;
- void DrawFrame(void);
- void SizeToFrame(void);
- // Generated message map functions
- //{{AFX_MSG(CFrameViewerDlg)
- virtual BOOL OnInitDialog();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_FRAMEVIEWERDLG_H__A9AFB12B_2A14_4975_9B56_FE114FB249CE__INCLUDED_)