📄 leftview.h
字号:
#pragma once
// CLeftView view
#include "cmmgDoc.h"
#include "MainFrm.h"
class CLeftView : public CTreeView
{
DECLARE_DYNCREATE(CLeftView)
public:
CcmmgDoc* GetDocument() const;
protected:
CLeftView(); // protected constructor used by dynamic creation
virtual ~CLeftView();
virtual void OnInitialUpdate();
public:
#ifdef _DEBUG
virtual void AssertValid() const;
#ifndef _WIN32_WCE
virtual void Dump(CDumpContext& dc) const;
#endif
#endif
public:
void deleteItem(int index);
protected:
virtual void OnSize(UINT nType, int cx, int cy);
VOID DeleteFile(HTREEITEM hItem);
afx_msg void OnLButtonDblClk(UINT, CPoint);;
protected:
DECLARE_MESSAGE_MAP()
BOOL PreCreateWindow(CREATESTRUCT& cs);
};
inline CcmmgDoc* CLeftView::GetDocument() const
{ return reinterpret_cast<CcmmgDoc*>(m_pDocument); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -