customdrawlistdlg.h

来自「WM上自绘背景的列表框程序以及源代码 很好的优化工具」· C头文件 代码 · 共 51 行

H
51
字号
// CustomDrawListDlg.h : header file
//

#if !defined(AFX_CUSTOMDRAWLISTDLG_H__CA58FB99_9D57_48F4_B0D7_242885333B39__INCLUDED_)
#define AFX_CUSTOMDRAWLISTDLG_H__CA58FB99_9D57_48F4_B0D7_242885333B39__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include"ClassListWnd.h"

/////////////////////////////////////////////////////////////////////////////
// CCustomDrawListDlg dialog

class CCustomDrawListDlg : public CDialog
{
// Construction
public:
	CCustomDrawListDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCustomDrawListDlg)
	enum { IDD = IDD_CUSTOMDRAWLIST_DIALOG };
	CClassListWnd	m_list;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCustomDrawListDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCustomDrawListDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft eMbedded Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CUSTOMDRAWLISTDLG_H__CA58FB99_9D57_48F4_B0D7_242885333B39__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?