WZDLVIEW.H
资源名称:B43.rar [点击查看]
上传用户:leishk
上传日期:2022-03-16
资源大小:3649k
文件大小:2k
源码类别:
ListView/ListBox
开发平台:
Visual C++
- // WzdListView.h : interface of the CWzdListView class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined WZDLISTVIEW_H
- #define WZDLISTVIEW_H
- #if _MSC_VER >= 1000
- #pragma once
- #endif // _MSC_VER >= 1000
- #include <afxcview.h>
- class CWzdListView : public CListView
- {
- protected: // create from serialization only
- CWzdListView();
- DECLARE_DYNCREATE(CWzdListView)
- // Attributes
- public:
- CWzdDoc* GetDocument();
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CWzdListView)
- public:
- virtual void OnDraw(CDC* pDC); // overridden to draw this view
- virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
- virtual void OnInitialUpdate();
- protected:
- virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
- virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
- virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CWzdListView();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CWzdListView)
- afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- private:
- CImageList m_ImageList;
- CImageList m_ImageSmallList;
- void AddLine(CWzdInfo *pInfo);
- };
- #ifndef _DEBUG // debug version in WzdListView.cpp
- inline CWzdDoc* CWzdListView::GetDocument()
- { return (CWzdDoc*)m_pDocument; }
- #endif
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_WzdListView_H__CA9038F0_B0DF_11D1_A18C_DCB3C85EBD34__INCLUDED_)