⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colorpage.h

📁 一个完整的数字硬盘录像机系统软件
💻 H
字号:
#if !defined(AFX_COLORPAGE_H__DA975887_21D5_11D5_9B34_0050FC217301__INCLUDED_)
#define AFX_COLORPAGE_H__DA975887_21D5_11D5_9B34_0050FC217301__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CColorPage dialog

class CColorPage : public CPropertyPage
{
	DECLARE_DYNCREATE(CColorPage)

// Construction
public:
	CColorPage();
	~CColorPage();
	int            m_nChannel;
	CString        m_sSection;
	void           SetChannel(int nChannel);

// Dialog Data
	//{{AFX_DATA(CColorPage)
	enum { IDD = IDD_COLOR_PAGE };
	CEdit	m_cSaturationEdit;
	CSliderCtrl	m_cSaturation;
	CEdit	m_cHueEdit;
	CSliderCtrl	m_cHue;
	CEdit	m_cContrastEdit;
	CSliderCtrl	m_cContrast;
	CEdit	m_cBrightEdit;
	CSliderCtrl	m_cBright;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CColorPage)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CColorPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnDefault();
	afx_msg void OnReleasedcaptureBright(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawBright(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawContrast(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawSaturation(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnCustomdrawHue(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnUpdateBrightEdit();
	afx_msg void OnUpdateContrastEdit();
	afx_msg void OnUpdateHueEdit();
	afx_msg void OnUpdateSaturationEdit();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_COLORPAGE_H__DA975887_21D5_11D5_9B34_0050FC217301__INCLUDED_)

⌨️ 快捷键说明

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