preview.h

来自「vc ad」· C头文件 代码 · 共 67 行

H
67
字号
#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 + =
减小字号Ctrl + -
显示快捷键?