www.pudn.com > ColorDlg-v1.1.rar > ColorSetDlg.h
#if !defined(AFX_COLORSETDLG_H__6027FB13_16F5_4085_AEA4_06EA8C0D2688__INCLUDED_)
#define AFX_COLORSETDLG_H__6027FB13_16F5_4085_AEA4_06EA8C0D2688__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorSetDlg.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CColorSetDlg dialog
class CColorSetDlg : public CDialog
{
// Construction
public:
int n1,n2,n3;
CColorSetDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CColorSetDlg)
enum { IDD = IDD_MYCOLORDLG };
CStatic m_strB;
CStatic m_strG;
CSliderCtrl m_sB;
CStatic m_strR;
CSliderCtrl m_sG;
CSliderCtrl m_sR;
int m_nB;
int m_nG;
int m_nR;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CColorSetDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CColorSetDlg)
virtual BOOL OnInitDialog();
afx_msg void OnCancelMode();
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
// int m_nR,m_nG,m_nB;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_COLORSETDLG_H__6027FB13_16F5_4085_AEA4_06EA8C0D2688__INCLUDED_)