📄 videocapture.h
字号:
// VideoCapture.h : main header file for the VIDEOCAPTURE application
//
#if !defined(AFX_VIDEOCAPTURE_H__45ACEAE5_9907_11D7_B4E0_0000E28BC2E9__INCLUDED_)
#define AFX_VIDEOCAPTURE_H__45ACEAE5_9907_11D7_B4E0_0000E28BC2E9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CVideoCaptureApp:
// See VideoCapture.cpp for the implementation of this class
//
class CVideoCaptureApp : public CWinApp
{
public:
CString CapMode,strTitle;
CString SoftAddress;
CString SoftVersion;
UINT m_unRegistMessage;
CVideoCaptureApp();
//UINT m_unRegistMessage;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVideoCaptureApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CVideoCaptureApp)
afx_msg void OnAppAbout();
afx_msg void OnViewLog();
afx_msg void OnLogClear();
afx_msg void OnSystemConfig();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
};
extern CVideoCaptureApp theApp;
static BOOL m_fCanGetSpeed; //当没有完成当前测速指令时,停止发送下一条测速指令
static BOOL m_fSendDataToCom; //向雷达发送控制指令时,=TRUE令雷达测速线程停止发送测速指令工作。
static BOOL m_fWaitRadar; //等待雷达发送返回控制指令确认信息
static BOOL m_fInitRadar; //正在初始化雷达
void WriteLog(CString info);
void ShowMessage(CString msg,UINT mb=MB_OK);
void ShowMessage2(CString msg,UINT mb=MB_OK);
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VIDEOCAPTURE_H__45ACEAE5_9907_11D7_B4E0_0000E28BC2E9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -