📄 mylistview.h
字号:
#if !defined(AFX_MYLISTVIEW_H__37459D7A_0C8E_42D3_BF13_E14DF1E9D2D5__INCLUDED_)
#define AFX_MYLISTVIEW_H__37459D7A_0C8E_42D3_BF13_E14DF1E9D2D5__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)
CImageList m_ImageList;
// Attributes
public:
HKEY h_CurentKey;
protected:
static int CALLBACK MyCompareProc(LPARAM lParam1, LPARAM lParam2, LPARAM lParamSort);
int ImageSZ,ImageDWORD;
// Operations
public:
void OnDell();
void DispValue(HKEY hKey);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyListView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}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 void OnRefresh();
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
afx_msg void OnDel();
afx_msg void OnSize(UINT nType, int cx, int cy);
//}}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__37459D7A_0C8E_42D3_BF13_E14DF1E9D2D5__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -