VideoMoveDlg.h
上传用户:czshopping
上传日期:2022-05-22
资源大小:5430k
文件大小:2k
源码类别:

视频捕捉/采集

开发平台:

Visual C++

  1. // VideoMoveDlg.h : header file
  2. //
  3. #if !defined(AFX_VIDEOMOVEDLG_H__811E1898_3019_45BC_A2E9_839A48F85DA6__INCLUDED_)
  4. #define AFX_VIDEOMOVEDLG_H__811E1898_3019_45BC_A2E9_839A48F85DA6__INCLUDED_
  5. #if _MSC_VER > 1000
  6. #pragma once
  7. #endif // _MSC_VER > 1000
  8. #include "VMR_Capture.h"
  9. /////////////////////////////////////////////////////////////////////////////
  10. // CVideoMoveDlg dialog
  11. class CVideoMoveDlg : public CDialog
  12. {
  13. // Construction
  14. public:
  15. CVideoMoveDlg(CWnd* pParent = NULL); // standard constructor
  16. public:
  17. BOOL WriteAsBMP1(char* szFileName,unsigned char* pImgData,int nWidth,int nHeight);
  18. // Dialog Data
  19. //{{AFX_DATA(CVideoMoveDlg)
  20. enum { IDD = IDD_VIDEOMOVE_DIALOG };
  21. CStatic m_ctrlLiveVideo;
  22. CComboBox m_ctrlDevice;
  23. CStatic m_ctrlVideoDisplay;
  24. //}}AFX_DATA
  25. // ClassWizard generated virtual function overrides
  26. //{{AFX_VIRTUAL(CVideoMoveDlg)
  27. protected:
  28. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  29. //}}AFX_VIRTUAL
  30. // Implementation
  31. protected:
  32. HICON m_hIcon;
  33. CVMR_Capture m_VideoCapture;
  34. // Generated message map functions
  35. //{{AFX_MSG(CVideoMoveDlg)
  36. virtual BOOL OnInitDialog();
  37. afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
  38. afx_msg void OnPaint();
  39. afx_msg HCURSOR OnQueryDragIcon();
  40. afx_msg void OnOk();
  41. afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  42. afx_msg void OnButton1();
  43. virtual void OnCancel();
  44. afx_msg void OnButton2();
  45. afx_msg void OnButton3();
  46. afx_msg void OnTimer(UINT nIDEvent);
  47. afx_msg void OnButton4();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. //{{AFX_INSERT_LOCATION}}
  52. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  53. #endif // !defined(AFX_VIDEOMOVEDLG_H__811E1898_3019_45BC_A2E9_839A48F85DA6__INCLUDED_)