www.pudn.com > colortable.zip > colorsDlg.h


/***************************************************************************** 
*           Change Log 
*  Date     | Change 
*-----------+----------------------------------------------------------------- 
* 13-Jan-02 | Created 
*****************************************************************************/ 
// colorsDlg.h : header file 
// 
 
#if !defined(AFX_COLORSDLG_H__58EB0CE6_0726_11D6_A059_006067718D04__INCLUDED_) 
#define AFX_COLORSDLG_H__58EB0CE6_0726_11D6_A059_006067718D04__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
///////////////////////////////////////////////////////////////////////////// 
// CColorsDlg dialog 
 
class CColorsDlg : public CDialog 
{ 
// Construction 
public: 
	CColorsDlg(CWnd* pParent = NULL);	// standard constructor 
 
// Dialog Data 
	//{{AFX_DATA(CColorsDlg) 
	enum { IDD = IDD_COLORS_DIALOG }; 
	CButton	c_Delete; 
	CStockCombo	c_Stock; 
	CSwatch	c_Swatch; 
	CColorList	c_Colors; 
	CImageButton	c_Up; 
	CSpinButtonCtrl	c_SpinR; 
	CSpinButtonCtrl	c_SpinG; 
	CSpinButtonCtrl	c_SpinB; 
	CButton	c_Save; 
	CImageButton	c_Down; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CColorsDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
	static CString FindColor(COLORREF color); 
	void updateControls(); 
 
	// Generated message map functions 
	//{{AFX_MSG(CColorsDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 
	afx_msg void OnPaint(); 
	afx_msg HCURSOR OnQueryDragIcon(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnClose(); 
	afx_msg void OnChangeB(); 
	afx_msg void OnDown(); 
	afx_msg void OnChangeG(); 
	afx_msg void OnChangeR(); 
	afx_msg void OnSave(); 
	afx_msg void OnUp(); 
	afx_msg void OnAdd(); 
	afx_msg void OnDelete(); 
	afx_msg void OnSelchangeColors(); 
	afx_msg void OnB0(); 
	afx_msg void OnB102(); 
	afx_msg void OnB127(); 
	afx_msg void OnB153(); 
	afx_msg void OnB192(); 
	afx_msg void OnB204(); 
	afx_msg void OnB255(); 
	afx_msg void OnB51(); 
	afx_msg void OnG0(); 
	afx_msg void OnG102(); 
	afx_msg void OnG127(); 
	afx_msg void OnG153(); 
	afx_msg void OnG192(); 
	afx_msg void OnG204(); 
	afx_msg void OnG255(); 
	afx_msg void OnG51(); 
	afx_msg void OnR0(); 
	afx_msg void OnR102(); 
	afx_msg void OnR127(); 
	afx_msg void OnR153(); 
	afx_msg void OnR192(); 
	afx_msg void OnR204(); 
	afx_msg void OnR255(); 
	afx_msg void OnR51(); 
	afx_msg void OnSelendokStock(); 
	afx_msg void OnLoad(); 
	afx_msg void OnClear(); 
	afx_msg void OnClose1(); 
	afx_msg void OnAppend(); 
	afx_msg void OnBelow(); 
	afx_msg void OnAboutbox(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_COLORSDLG_H__58EB0CE6_0726_11D6_A059_006067718D04__INCLUDED_)