📄 unittreectrl.h
字号:
#if !defined(AFX_UNITTREECTRL_H__020BFCE5_38FF_4A44_B2AE_EEA2DECB7528__INCLUDED_)
#define AFX_UNITTREECTRL_H__020BFCE5_38FF_4A44_B2AE_EEA2DECB7528__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UnitTreeCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUnitTreeCtrl window
#include "UnitTree.h"
#include "UnitClassTree.h"
//##ModelId=40A481EF029F
class CUnitTreeCtrl : public CTreeCtrl
{
// Construction
public:
//##ModelId=40A481EF02AF
CUnitTreeCtrl();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUnitTreeCtrl)
public:
//##ModelId=40A481EF02B0
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
//##ModelId=40A481EF02D0
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
//##ModelId=40A481EF02E0
UnitTree* Tree;
//##ModelId=40A481EF02EF
CMenu m_Menu;
//##ModelId=40A481EF02F3
CPoint m_MousePoint;
//##ModelId=40A481EF03A9
virtual ~CUnitTreeCtrl();
// Generated message map functions
protected:
//{{AFX_MSG(CUnitTreeCtrl)
//##ModelId=40A481EF03BA
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//##ModelId=40A481EF03C8
afx_msg void OnChildActivate();
//##ModelId=40A481EF03CA
afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
//##ModelId=40A481EF03DA
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
//##ModelId=40A481F00002
afx_msg void OnDelete();
//##ModelId=40A481F0000F
afx_msg void OnPopNewUnit();
//##ModelId=40A481F00011
afx_msg void OnPopNewClass();
//##ModelId=40A481F00020
afx_msg void OnPopView();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_UNITTREECTRL_H__020BFCE5_38FF_4A44_B2AE_EEA2DECB7528__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -