configdlg.h

来自「基于SDK的图像采集程序」· C头文件 代码 · 共 65 行

H
65
字号
#if !defined(AFX_CONFIGDLG_H__ABF231D8_558F_4E68_ACE0_93DF1F687330__INCLUDED_)
#define AFX_CONFIGDLG_H__ABF231D8_558F_4E68_ACE0_93DF1F687330__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ConfigDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CConfigDlg dialog

class CConfigDlg : public CDialog
{
// Construction
public:
	CConfigDlg(int iCardID, CWnd* pParent = NULL);   // standard constructor

	int m_iCardID;
// Dialog Data
	//{{AFX_DATA(CConfigDlg)
	enum { IDD = IDD_CONFIG };
	CComboBox	m_comboSubType;
	CComboBox	m_comboStandard;
	CComboBox	m_comboVideoSource;
	CSliderCtrl	m_sliderSaturation;
	CSliderCtrl	m_sliderHue;
	CSliderCtrl	m_sliderContrast;
	CSliderCtrl	m_sliderBrightness;
	UINT	m_iStreamHeight;
	UINT	m_iStreamWidth;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CConfigDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CConfigDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSettoDefault();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnSelchangeComboVs();
	afx_msg void OnSelchangeComboStandard();
	afx_msg void OnButtonSetVideoInfo();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnDestroy();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void GetVideoInfo();
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CONFIGDLG_H__ABF231D8_558F_4E68_ACE0_93DF1F687330__INCLUDED_)

⌨️ 快捷键说明

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