OwnList.h
资源名称:realtime.rar [点击查看]
上传用户:mgf822
上传日期:2013-10-03
资源大小:133k
文件大小:1k
源码类别:
对话框与窗口
开发平台:
Visual C++
- // OwnList.h : header file
- //
- #ifndef __OWNLIST_H__
- #define __OWNLIST_H__
- /////////////////////////////////////////////////////////////////////////////
- // COwnerDrawListBox window
- class COwnerDrawListBox : public CListBox
- {
- // Construction
- public:
- COwnerDrawListBox();
- // Attributes
- private:
- COLORREF m_nColor;
- CString m_szName;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(COwnerDrawListBox)
- public:
- virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
- virtual int CompareItem(LPCOMPAREITEMSTRUCT lpCompareItemStruct);
- virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~COwnerDrawListBox();
- // Generated message map functions
- protected:
- //{{AFX_MSG(COwnerDrawListBox)
- // NOTE - the ClassWizard will add and remove member functions here.
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- #endif __OWNLIST_H__ // end define of COwnerDrawListBox