www.pudn.com > XRayImg.rar > AdjustRGB.h
#if !defined(AFX_ADJUSTRGB_H__429BB530_3C94_44FD_A2AF_513831161FF4__INCLUDED_)
#define AFX_ADJUSTRGB_H__429BB530_3C94_44FD_A2AF_513831161FF4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AdjustRGB.h : header file
//
#include "DibDispStatic.h"
/////////////////////////////////////////////////////////////////////////////
// CAdjustRGB dialog
class CAdjustRGB : public CDialog
{
// Construction
public:
CAdjustRGB(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CAdjustRGB)
enum { IDD = IDD_ADJUST_RGB };
// NOTE: the ClassWizard will add data members here
CDibDispStatic m_picOld;
CDibDispStatic m_picNew;
CEdit m_edt3;
CEdit m_edt2;
CEdit m_edt1;
int m_iEdt1;
int m_iEdt2;
int m_iEdt3;
CSliderCtrl m_slider1;
CSliderCtrl m_slider2;
CSliderCtrl m_slider3;
CSpinButtonCtrl m_spin1;
CSpinButtonCtrl m_spin2;
CSpinButtonCtrl m_spin3;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAdjustRGB)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CAdjustRGB)
// NOTE: the ClassWizard will add member functions here
virtual void OnCancel();
virtual void OnOK();
virtual BOOL OnInitDialog();
afx_msg void OnDefault();
afx_msg void OnReleasedcaptureSlider1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeEdit1();
afx_msg void OnReleasedcaptureSlider2(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeEdit2();
afx_msg void OnReleasedcaptureSlider3(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnChangeEdit3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
//是否初始化成功
BOOL m_bCreated;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ADJUSTRGB_H__429BB530_3C94_44FD_A2AF_513831161FF4__INCLUDED_)