www.pudn.com > DrawerMenu(ÍêÕû°æ).rar > SuperItem.h


// SuperItem.h: interface for the CSuperItem class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_SUPERITEM_H__87BD1657_A4BE_4E16_B007_CD07F636841D__INCLUDED_) 
#define AFX_SUPERITEM_H__87BD1657_A4BE_4E16_B007_CD07F636841D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "SubItem.h" 
 
typedef CTypedPtrArray CSubArray; 
 
class CSuperItem : public CObject   
{ 
public: 
	CSuperItem(int nItemID, CString & strText,  int nCurSel = -1); 
	virtual ~CSuperItem(); 
public: 
	int m_nItemID; 
	int m_nCurSel; 
	CString m_strText; 
	CSubArray m_subItems; 
public: 
	BOOL AddSubItem(int nItemID, int nImageIndex, CString & strText); 
}; 
 
#endif // !defined(AFX_SUPERITEM_H__87BD1657_A4BE_4E16_B007_CD07F636841D__INCLUDED_)