CategoryCombobox.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:2k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_CATEGORYCOMBOBOX_H__DBE141BA_037B_4302_8372_AD3B8F820949__INCLUDED_)
- #define AFX_CATEGORYCOMBOBOX_H__DBE141BA_037B_4302_8372_AD3B8F820949__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // CategoryCombobox.h : header file
- //
- #define ICONWIDTH 15
- /////////////////////////////////////////////////////////////////////////////
- // CCategoryCombobox window
- typedef struct SFolder
- {
- int m_iImageIndex; // Index of picture in image list
- int m_iIndent; // Indentation index
- // CString m_sFolderName; // Descriptive name of folder
- // CString m_sPathName; // Actual full pathname of folder or folders
- HTREEITEM m_hItem;
- } SFOLDER, *LPSFOLDER;
- class CCategoryCombobox : public CComboBox
- {
- // Construction
- public:
- CCategoryCombobox();
- // Attributes
- // CImageList m_imgFolders;
- // CImageList m_imgDisabledFolders;
- CImageList* m_pimgList;
- public:
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCategoryCombobox)
- //}}AFX_VIRTUAL
- void DrawItem( LPDRAWITEMSTRUCT pDIStruct );
- // Implementation
- public:
- void DeleteAllItems();
- virtual ~CCategoryCombobox();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCategoryCombobox)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- void OnDestroy();
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CATEGORYCOMBOBOX_H__DBE141BA_037B_4302_8372_AD3B8F820949__INCLUDED_)