graydlg.h

来自「《数字图象工程案例》原码」· C头文件 代码 · 共 58 行

H
58
字号
#if !defined(AFX_GRAYDLG_H__6418BF61_CC27_11D2_83AE_5254AB1C48FD__INCLUDED_)
#define AFX_GRAYDLG_H__6418BF61_CC27_11D2_83AE_5254AB1C48FD__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CGrayDlg dialog

class CGrayDlg : public CDialog
{
// Construction
public:
	CGrayDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CGrayDlg)
	enum { IDD = IDD_GRAY_DIALOG };
	CString	m_strWeightR;
	CString	m_strWeightG;
	CString	m_strWeightB;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA
int m_nMethod;
	double m_fWeightR;
	double m_fWeightG;
	double m_fWeightB;


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CGrayDlg)
	afx_msg void OnRadio1();
	afx_msg void OnRadio2();
	afx_msg void OnRadio3();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_GRAYDLG_H__6418BF61_CC27_11D2_83AE_5254AB1C48FD__INCLUDED_)

⌨️ 快捷键说明

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