usertreeview.h
来自「药品库存管理系统,很好的VC++6.0示例代码,包含完整的数据库和代码」· C头文件 代码 · 共 60 行
H
60 行
#if !defined(AFX_USERTREEVIEW_H__CA83AABC_94C3_46A4_88AD_4A40C0140011__INCLUDED_)
#define AFX_USERTREEVIEW_H__CA83AABC_94C3_46A4_88AD_4A40C0140011__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserTreeView.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUserTreeView view
class CUserTreeView : public CTreeView
{
protected:
CUserTreeView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(CUserTreeView)
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUserTreeView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CUserTreeView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
public:
CImageList m_theImageList;
CTreeCtrl* m_theTreeCtrl;
// Generated message map functions
protected:
//{{AFX_MSG(CUserTreeView)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USERTREEVIEW_H__CA83AABC_94C3_46A4_88AD_4A40C0140011__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?