filebar.h

来自「用CJ60Lib界面库制作的SQL数据库客户与服务器程序。」· C头文件 代码 · 共 72 行

H
72
字号
// FileBar.h : header file
/////////////////////////////////////////////////////////////////////////////

#ifndef _FILEBAR_H_
#define _FILEBAR_H_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "FileTree.h"
#include <afxtempl.h>

/////////////////////////////////////////////////////////////////////////////
// CFileBar class

class CFileBar : public CControlBar
{
// Construction
public:
	CFileBar();
	virtual ~CFileBar();

// Attributes
public:	
	CFileTree	m_TreeCtrl;
	CImageList	m_ImageList;
	CList< CString, CString& > item_list;
	HTREEITEM	hitem0;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyBarBottom)
	//}}AFX_VIRTUAL

// Implementation
public:
	void	DropIndex( LPCTSTR tname, LPCTSTR iname );
	void	DelFile( const CString& fname );
	void	ViewDb();

	void	ExpandTree();
	void	InsertAttr( CString&, HTREEITEM );
	void	InsertIndex( CString&, HTREEITEM );

	void	insert_tree( CString&, HTREEITEM hitem );
	BOOL	add_item( CString& );
	void	Expanding();
	void	InsertIndex( LPCTSTR tname, LPCTSTR iname );

// Generated message map functions
protected:
	//{{AFX_MSG(CFileBar)
	afx_msg void OnItemexpanding(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnWindowPosChanged(WINDOWPOS FAR* lpwndpos);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(MYBARBOTTOM_H_INCLUDED)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?