⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 listctrltestdlg.h

📁 EVC写的ListCtrl扩展控件
💻 H
字号:
// ListCtrlTestDlg.h : header file
//

#if !defined(AFX_LISTCTRLTESTDLG_H__BDAE42C7_F6BE_4258_90AE_CD3D5014C14A__INCLUDED_)
#define AFX_LISTCTRLTESTDLG_H__BDAE42C7_F6BE_4258_90AE_CD3D5014C14A__INCLUDED_

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

#include "CeListCtrlEx.h"
#include "WinXPButtonST.h"

/////////////////////////////////////////////////////////////////////////////
// CListCtrlTestDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CListCtrlTestDlg)
	enum { IDD = IDD_LISTCTRLTEST_DIALOG };
	CCeListCtrlEx	m_ctrlList;
	CString	        m_strSelItem;
    CWinXPButtonST	m_btnAdd;
    CWinXPButtonST	m_btnDel;
	CWinXPButtonST	m_btnUp;
	CWinXPButtonST	m_btnDown;
	CWinXPButtonST	m_btnTop;
	CWinXPButtonST	m_btnBottom;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;
	CImageList m_imageList;

	// Generated message map functions
	//{{AFX_MSG(CListCtrlTestDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnItemChangedList1(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
    afx_msg void OnRecognizeGesture(NMHDR* pNMHDR, LRESULT* pResult);
    afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
    afx_msg void OnBtnAdd();
    afx_msg void OnBtnDel();
    afx_msg void OnBtnUp();
    afx_msg void OnBtnDown();
    afx_msg void OnBtnTop();
    afx_msg void OnBtnBottom();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
    void UpdateListCtrlBtns();
};

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

#endif // !defined(AFX_LISTCTRLTESTDLG_H__BDAE42C7_F6BE_4258_90AE_CD3D5014C14A__INCLUDED_)

⌨️ 快捷键说明

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