www.pudn.com > mm_sdk_video_eg.zip > I800DemoView.h
// I800DemoView.h : interface of the CI800DemoView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_I800DEMOVIEW_H__A3E1EF8A_A5C0_4E9E_BACB_7A8CF61C0A02__INCLUDED_)
#define AFX_I800DEMOVIEW_H__A3E1EF8A_A5C0_4E9E_BACB_7A8CF61C0A02__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CI800DemoView : public CFormView
{
protected: // create from serialization only
CI800DemoView();
DECLARE_DYNCREATE(CI800DemoView)
public:
//{{AFX_DATA(CI800DemoView)
enum { IDD = IDD_I800DEMO_FORM };
CSpinButtonCtrl m_ChannelSpin;
CComboBox m_EncodeModeList;
UINT m_BitRate;
int m_RateControl;
int m_Channel;
CString m_FilePath;
int m_GOPSize;
BOOL m_HHR;
int m_OffsetField1;
int m_PDistance;
int m_PreProcessFilter;
BOOL m_TFF;
int m_VideoSource;
int m_OffsetField2;
int m_Resolution;
BOOL m_AVSplit;
//}}AFX_DATA
// Attributes
public:
CI800DemoDoc* GetDocument();
// Operations
public:
private:
BOOL m_bInitDevice;
void UpdateParameterView ();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CI800DemoView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CI800DemoView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CI800DemoView)
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnBrowse();
afx_msg void OnUpdate();
afx_msg void OnTuning();
afx_msg void OnSelchangeEncMpdeCombo();
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnStartCapture();
afx_msg void OnPauseCapture();
afx_msg void OnStopCapture();
afx_msg void OnStartPlayback();
afx_msg void OnPausePlayback();
afx_msg void OnStopPlayback();
afx_msg void OnChangeInput();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in I800DemoView.cpp
inline CI800DemoDoc* CI800DemoView::GetDocument()
{ return (CI800DemoDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_I800DEMOVIEW_H__A3E1EF8A_A5C0_4E9E_BACB_7A8CF61C0A02__INCLUDED_)