childview.h

来自「实时视频跟踪源码」· C头文件 代码 · 共 56 行

H
56
字号
// ChildView.h : interface of the CChildView class
//


#pragma once

#include "VideoCapWnd.h"

// CChildView window

class CChildView : public CWnd
{
// Construction
public:
	CChildView();

// Attributes
public:
    CVideoCapWnd m_theVideoCapWnd;
    
// Operations
public:

// Overrides
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);

// Implementation
public:
	virtual ~CChildView();

	// Generated message map functions
protected:
	afx_msg void OnPaint();
	DECLARE_MESSAGE_MAP()
	
public:  
    static BYTE bThreshold;
    static DWORD dwRectangle;
    static DWORD dwSegment;
    
    static LRESULT FrameCallbackProc(HWND hWnd, LPVIDEOHDR lpVideoHdr);
    
    afx_msg void OnDeviceRefresh();
    afx_msg void OnDeviceName(UINT nID);
    afx_msg void OnCaptureSource();
    afx_msg void OnCaptureFormat();
    afx_msg void OnCaptureDisplay();
    afx_msg void OnSize(UINT nType, int cx, int cy);
    afx_msg void OnCaptureZoom(UINT nID);
    afx_msg void OnTrackBrightness();
    afx_msg void OnTrackStop();
    afx_msg void OnCaptureStop();
};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?