www.pudn.com > SpliterViewduoshipinxianshi.rar > LocalView.h


#if !defined(AFX_LOCALVIEW_H__6D13264A_9567_416A_AF08_04E4C9070E44__INCLUDED_) 
#define AFX_LOCALVIEW_H__6D13264A_9567_416A_AF08_04E4C9070E44__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include  
#pragma comment(lib,"VFW32.Lib") 
 
// LocalView.h : header file 
// 
 
///////////////////////////////////////////////////////////////////////////// 
// CLocalView form view 
 
#ifndef __AFXEXT_H__ 
#include  
#endif 
#include "LocalWnd.h"	// Added by ClassView 
 
class CLocalView : public CFormView 
{ 
protected: 
	CLocalView();           // protected constructor used by dynamic creation 
	DECLARE_DYNCREATE(CLocalView) 
 
// Form Data 
public: 
	//{{AFX_DATA(CLocalView) 
	enum { IDD = IDD_LOCALVIEW }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
// Attributes 
public: 
 
// Operations 
public: 
	CLocalWnd m_LocalVideo; 
	HWND m_hCapWnd;//视频采集窗口句柄 
	CAPDRIVERCAPS  m_CapDrvCaps;//结构,定义捕获驱动器性能 
	CString m_CapFilename;//视频捕获的文件名 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CLocalView) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	virtual ~CLocalView(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
	// Generated message map functions 
	//{{AFX_MSG(CLocalView) 
	afx_msg void OnLocalvideo(); 
	afx_msg void OnDestroy(); 
	afx_msg void OnSavefile(); 
	afx_msg void OnVideoformat(); 
	afx_msg void OnVideosource(); 
	afx_msg void OnVideoenable(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_LOCALVIEW_H__6D13264A_9567_416A_AF08_04E4C9070E44__INCLUDED_)