leftview.h
来自「一个类c语言的解释器」· C头文件 代码 · 共 40 行
H
40 行
#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 + =
减小字号Ctrl + -
显示快捷键?