📄 reditview.h
字号:
// reditView.h : interface of the CReditView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_REDITVIEW_H__B0A6E700_E884_49CA_A56E_0832982E81C4__INCLUDED_)
#define AFX_REDITVIEW_H__B0A6E700_E884_49CA_A56E_0832982E81C4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <afxcview.h>
#include "redit.h"
class CReditView : public CTreeView
{
protected: // create from serialization only
CReditView();
DECLARE_DYNCREATE(CReditView)
// Attributes
public:
CPoint m_PtGesture;
CReditDoc* GetDocument();
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();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CReditView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
virtual void OnInitialUpdate();
protected:
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
#ifndef _WIN32_WCE
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
#endif
// Implementation
public:
virtual ~CReditView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CReditView)
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();
#if defined(_WIN32_WCE)
#if !defined(_X86_) && !defined(WIN32_PLATFORM_HPC2000)
afx_msg void OnContextMenu(WPARAM wParam, LPARAM lParam);
#endif
#endif
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in reditView.cpp
inline CReditDoc* CReditView::GetDocument()
{ return (CReditDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REDITVIEW_H__B0A6E700_E884_49CA_A56E_0832982E81C4__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -