www.pudn.com > CListBoxColorPickerST_demo.zip > GenericMFCDlg.h
#ifndef _GENERICMFCDLG_H_
#define _GENERICMFCDLG_H_
#include "ResizableDialog.h"
#include "BtnST.h"
#include "HyperLink.h"
#include "ListBoxColorPickerST.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CGenericMFCDlg : public CResizableDialog
{
public:
CGenericMFCDlg(CWnd* pParent = NULL);
//{{AFX_DATA(CGenericMFCDlg)
enum { IDD = IDD_GENERICMFC_DIALOG };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CGenericMFCDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX);
//}}AFX_VIRTUAL
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CGenericMFCDlg)
virtual BOOL OnInitDialog();
afx_msg void OnDblclkLbxColors1();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}AFX_MSG
private:
void Populate();
CListBoxColorPickerST m_lbxColors1;
CButtonST m_btnExit;
CHyperLink m_EMailLink;
CHyperLink m_HomePageLink;
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif