📄 video.h
字号:
#if !defined(AFX_VIDEO_H__012162C6_D23A_4600_8F0A_5E3C6C88F3A1__INCLUDED_)
#define AFX_VIDEO_H__012162C6_D23A_4600_8F0A_5E3C6C88F3A1__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Video.h : header file
//
#include "Vfw.h"
#pragma comment (lib,"vfw32.lib")
/////////////////////////////////////////////////////////////////////////////
// CVideo dialog
class CVideo : public CDialog
{
// Construction
public:
BOOL m_Captured;
HWND m_hWndVideo;
CVideo(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CVideo)
enum { IDD = IDD_DIALOG1 };
CStatic m_FrameNum;
CStatic m_Panel;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVideo)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CVideo)
virtual BOOL OnInitDialog();
virtual void OnOK();
afx_msg void OnTimer(UINT nIDEvent);
virtual void OnCancel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
long num=0;
LRESULT CALLBACK EncodeCallback(HWND m_hWndVideo)
{
num++;
return 0;
}
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIDEO_H__012162C6_D23A_4600_8F0A_5E3C6C88F3A1__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -