www.pudn.com > CListBoxColorPickerST_demo.zip > DlgShowSelected.h


#ifndef _DLGSHOWSELECTED_H_ 
#define _DLGSHOWSELECTED_H_ 
 
#include "BtnST.h" 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
class CDlgShowSelected : public CDialog 
{ 
public: 
	BOOL SetProperties(int nIndex, LPCTSTR lpszText, COLORREF crColor); 
	CDlgShowSelected(CWnd* pParent = NULL); 
 
	//{{AFX_DATA(CDlgShowSelected) 
	enum { IDD = IDD_SHOWSELECTED }; 
		// NOTE: the ClassWizard will add data members here 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlgShowSelected) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX); 
	//}}AFX_VIRTUAL 
 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlgShowSelected) 
	virtual BOOL OnInitDialog(); 
	//}}AFX_MSG 
 
private: 
	CButtonST	m_btnOk; 
	CButtonST	m_btnColor; 
 
	int			m_nIndex; 
	COLORREF	m_crColor; 
	TCHAR		m_szText[256]; 
 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif