📄 bumenview.h
字号:
#if !defined(AFX_BUMENVIEW_H__D01BF1FF_804F_4C0B_B13F_B296DDA0B2F7__INCLUDED_)
#define AFX_BUMENVIEW_H__D01BF1FF_804F_4C0B_B13F_B296DDA0B2F7__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BumenView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CBumenView form view
#ifndef __AFXEXT_H__
#include <afxext.h>
#endif
#include "Class\bumen.h"
#include "Class\ControlPos.h"
class CBumenView : public CFormView
{
protected:
CBumenView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CBumenView)
// Form Data
public:
//{{AFX_DATA(CBumenView)
enum { IDD = IDD_BUMEN_VIEW };
CTreeCtrl m_tree;
//}}AFX_DATA
// Attributes
public:
HTREEITEM m_hRoot; //Tree控件的根节点
CBumen m_bumen;
CImageList m_imageList; //定义图像列表
CControlPos m_cp;
public:
void AddtoTree(HTREEITEM m_hNode, int UpperID);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBumenView)
public:
virtual void OnInitialUpdate();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CBumenView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
//{{AFX_MSG(CBumenView)
afx_msg void OnBtn_Add();
afx_msg void OnBtn_Modify();
afx_msg void OnBtn_Delete();
afx_msg void OnDestroy();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg void OnRclickTree1(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnClickTree1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BUMENVIEW_H__D01BF1FF_804F_4C0B_B13F_B296DDA0B2F7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -