📄 leftview.h
字号:
#if !defined(AFX_LEFTVIEW_H__06F6511B_0E2C_473F_B483_3EEF635DFC54__INCLUDED_)
#define AFX_LEFTVIEW_H__06F6511B_0E2C_473F_B483_3EEF635DFC54__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LeftView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLeftView view
#include <afxcview.h>
#include "ReditDoc.h"
#include "RegNode.h"
#include "Redit.h"
class CLeftView : public CTreeView
{
protected:
CLeftView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CLeftView)
// Attributes
public:
CPoint m_PtGesture;
CImageList m_ImageList;
CMenu m_TreeTrayMenu, m_TreeTraySubMenu;
// Operations
public:
void DisplayKey(CRegNode *pNode);
void DisplayValue(CRegNode *pNode);
void FindChildren(HTREEITEM hItem);
void DisplayKeyPath(HTREEITEM hItem);
void Clear();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLeftView)
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CLeftView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CLeftView)
afx_msg void OnItemexpanded(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDestroy();
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg LONG OnCopyKeyPath(WPARAM wParam, LPARAM lParam);
afx_msg LONG OnShowKeyPath(WPARAM wParam, LPARAM lParam);
afx_msg void OnCreateNewKey();
afx_msg void OnNewStringValue();
afx_msg void OnNewDwordValue();
afx_msg void OnKeyDelete();
afx_msg void OnKeyRename();
afx_msg void OnViewRefresh();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LEFTVIEW_H__06F6511B_0E2C_473F_B483_3EEF635DFC54__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -