bitreeview.h
来自「数据结构——树 不详细介绍了」· C头文件 代码 · 共 71 行
H
71 行
// bitreeView.h : interface of the CBitreeView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_BITREEVIEW_H__A43F59EB_D0FA_422D_B57D_4CD248D622B3__INCLUDED_)
#define AFX_BITREEVIEW_H__A43F59EB_D0FA_422D_B57D_4CD248D622B3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CBitreeView : public CView
{
protected: // create from serialization only
CBitreeView();
DECLARE_DYNCREATE(CBitreeView)
// Attributes
public:
CBitreeDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBitreeView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CBitreeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CBitreeView)
afx_msg void OnBitreeInit();
afx_msg void OnBitreeCreate();
afx_msg void OnBitreeInorder();
afx_msg void OnBitreePostorder();
afx_msg void OnBitreePreorder();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in bitreeView.cpp
inline CBitreeDoc* CBitreeView::GetDocument()
{ return (CBitreeDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BITREEVIEW_H__A43F59EB_D0FA_422D_B57D_4CD248D622B3__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?