mylistview.h
来自「Visual C++ 实践与提高--数据库篇的源代码。很好的东西。欢迎下载。」· C头文件 代码 · 共 58 行
H
58 行
#if !defined(AFX_MYLISTVIEW_H__3FA19029_BAF4_11D4_A7B0_0010B54D545E__INCLUDED_)
#define AFX_MYLISTVIEW_H__3FA19029_BAF4_11D4_A7B0_0010B54D545E__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyListView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMyListView view
class CMyListView : public CListView
{
protected:
CMyListView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CMyListView)
// Attributes
public:
// Operations
public:
void AddColTitle(int nType);
void EraseList();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyListView)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CMyListView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CMyListView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MYLISTVIEW_H__3FA19029_BAF4_11D4_A7B0_0010B54D545E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?