📄 preview.h
字号:
#if !defined(AFX_PREVIEW_H__CF39CDE5_501B_11D5_AC5B_5254AB167712__INCLUDED_)
#define AFX_PREVIEW_H__CF39CDE5_501B_11D5_AC5B_5254AB167712__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Preview.h : header file
//
#include "card.h"
#include "Cardtestdlg.h"
/////////////////////////////////////////////////////////////////////////////
// CPreview dialog
class CVideo;
class CCardtestDlg;
class CPreview : public CDialog
{
// Construction
public:
CPreview(CWnd* pParent, CCard* pCard); // standard constructor
// Dialog Data
//{{AFX_DATA(CPreview)
enum { IDD = IDD_PREVIEW };
BOOL m_bOverlayMode;
int m_nChannel;
int m_nVideoSrc;
BOOL m_bViewOn;
//BOOL m_bSa03Bit[8];
//BOOL m_bSa09Bit[8];
//BOOL m_bSa0EBit[8];
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPreview)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
public:
void VideoClosed();
private:
CVideo * m_pVideoWindow;
CCard *m_pCard;
//CCardtestDlg *m_pParent;
protected:
// Generated message map functions
//{{AFX_MSG(CPreview)
virtual BOOL OnInitDialog();
virtual void OnCancel();
afx_msg void OnViewon();
afx_msg void OnOverlayMode();
afx_msg void OnChChanged();
afx_msg void OnActivate(UINT nState, CWnd *pWndOther, BOOL bMinimized);
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PREVIEW_H__CF39CDE5_501B_11D5_AC5B_5254AB167712__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -