www.pudn.com > VideoCapture.rar > ChildFrm.h


// ChildFrm.h : interface of the CChildFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CHILDFRM_H__A150A95E_31E3_415D_B972_4E5CFCCA1DE0__INCLUDED_) 
#define AFX_CHILDFRM_H__A150A95E_31E3_415D_B972_4E5CFCCA1DE0__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
//#include "ChildView.h" 
#include "ShowStreamDlg.h" 
 
class CChildFrame : public CMDIChildWnd 
{ 
	DECLARE_DYNCREATE(CChildFrame) 
public: 
	CChildFrame(); 
 
// Attributes 
public: 
		BOOL m_bOverlay; 
        int m_iCardID; 
     	CShowStreamDlg m_ShowStreamDlg[4]; 
// Operations 
public: 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChildFrame) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	BOOL Is4WayCard(); 
	// view for the client area of the frame. 
//	CChildView m_wndView; 
	virtual ~CChildFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
#endif 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CChildFrame) 
	afx_msg void OnFileClose(); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnStartShowStream(); 
	afx_msg void OnNormalSize(); 
	afx_msg void OnSize(UINT nType, int cx, int cy); 
	afx_msg void OnConfigDialog(); 
	afx_msg void OnPropertyDialog(); 
	afx_msg void OnUpdateStartshowstream(CCmdUI* pCmdUI); 
	//}}AFX_MSG 
		void OnVideoErrorNotify(WPARAM wparam, LPARAM lparam); 
	DECLARE_MESSAGE_MAP() 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CHILDFRM_H__A150A95E_31E3_415D_B972_4E5CFCCA1DE0__INCLUDED_)