www.pudn.com > list-button.rar > ListCtrlEx.h, change:2014-11-27,size:418b


#pragma once 
#include "ButtonEx.h" 
#include <map> 
using namespace std; 
 
typedef map<int,CButtonEx*>button_map; 
 
 
// CListCtrlEx 
 
class CListCtrlEx : public CListCtrl 
{ 
	DECLARE_DYNAMIC(CListCtrlEx) 
 
public: 
	CListCtrlEx(); 
	virtual ~CListCtrlEx(); 
	void createItemButton( int nItem, int nSubItem, HWND hMain ); 
	button_map m_mButton; 
	 UINT m_uID;     
 
protected: 
	DECLARE_MESSAGE_MAP() 
};