www.pudn.com > CListCtrlTest.rar > CListCtrlTestDlg.h
// CListCtrlTestDlg.h : header file
//
#if !defined(AFX_CLISTCTRLTESTDLG_H__7F3BF801_1D40_4E20_A301_790B32412BD9__INCLUDED_)
#define AFX_CLISTCTRLTESTDLG_H__7F3BF801_1D40_4E20_A301_790B32412BD9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "MyListCtrl.h"
/////////////////////////////////////////////////////////////////////////////
// CCListCtrlTestDlg dialog
class CCListCtrlTestDlg : public CDialog
{
// Construction
public:
CCListCtrlTestDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCListCtrlTestDlg)
enum { IDD = IDD_CLISTCTRLTEST_DIALOG };
CMyListCtrl m_MyListCtrl;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCListCtrlTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCListCtrlTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnAdd();
afx_msg void OnButton3();
afx_msg void OnCreate();
afx_msg void OnBkcolor();
afx_msg void OnTextcolor();
afx_msg void OnGridpro();
afx_msg void OnGridcolor();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CImageList m_ImageList;
void ViewBitmap(const char* filepath, const CPoint point, const int &width, const int &hight);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLISTCTRLTESTDLG_H__7F3BF801_1D40_4E20_A301_790B32412BD9__INCLUDED_)