www.pudn.com > LControl.zip > ListCtrlColorDlg.h
// ListCtrlColorDlg.h : header file
//
#pragma once
#include "afxcmn.h"
#include "ListCtrlWithCustomDraw.h"
// CListCtrlColorDlg dialog
class CListCtrlColorDlg : public CDialog
{
// Construction
public:
CListCtrlColorDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_LISTCTRLCOLOR_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
DECLARE_MESSAGE_MAP()
public:
CListCtrlWithCustomDraw m_lstBooks;
};