📄 peerregedittreeview.h
字号:
#if !defined(AFX_PEERREGEDITTREEVIEW_H__CCC1F1AD_2907_4D4F_B885_32BBB76B6019__INCLUDED_)
#define AFX_PEERREGEDITTREEVIEW_H__CCC1F1AD_2907_4D4F_B885_32BBB76B6019__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PeerRegeditTreeView.h : header file
//
#include "command.h"
/////////////////////////////////////////////////////////////////////////////
// CPeerRegeditTreeView view
class CPeerRegeditTreeView : public CTreeView
{
protected:
CPeerRegeditTreeView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CPeerRegeditTreeView)
// Attributes
public:
// Operations
public:
CImageList m_imagelist;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPeerRegeditTreeView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CPeerRegeditTreeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CPeerRegeditTreeView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRegeditKeyAdd();
afx_msg void OnRegeditKeyDel();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void RegMess(char *key,char*sunkey,int flag,char* stat);
void MESS(char* key,char* childkey,char *ifok,bool flag);
void MakeRegInfo(CTreeCtrl& tree,HTREEITEM item,REGEDIT& reg);
void GetType(DWORD type,char* strType);
void SetType(DWORD type,char* strType,DWORD len);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_PEERREGEDITTREEVIEW_H__CCC1F1AD_2907_4D4F_B885_32BBB76B6019__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -