www.pudn.com > WhiteBalance.rar > Custom.h


#if !defined(AFX_CUSTOM_H__DBDECDD4_467E_4AA8_A7A4_71F321B9FF84__INCLUDED_) 
#define AFX_CUSTOM_H__DBDECDD4_467E_4AA8_A7A4_71F321B9FF84__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// Custom.h : header file 
// 
#include "WhiteBalanceDoc.h" 
///////////////////////////////////////////////////////////////////////////// 
// CCustom dialog 
 
class CCustom : public CDialog 
{ 
// Construction 
public: 
	COLORREF m_Color; 
	CCustom(CWhiteBalanceDoc *pDoc, CWnd* pParent = NULL);   // standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CCustom) 
	enum { IDD = IDD_CUSTOM }; 
	CSliderCtrl	m_SetBvalue; 
	CSliderCtrl	m_SetGvalue; 
	CSliderCtrl	m_SetRvalue; 
	CString	m_Rvalue; 
	CString	m_Gvalue; 
	CString	m_Bvalue; 
	//}}AFX_DATA 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CCustom) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
    CWhiteBalanceDoc *pDoc; 
	// Generated message map functions 
	//{{AFX_MSG(CCustom) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	afx_msg void OnPaint(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CUSTOM_H__DBDECDD4_467E_4AA8_A7A4_71F321B9FF84__INCLUDED_)