folderstree.h

来自「RFID读卡器源码,vc.net编写,bcgp界面控件」· C头文件 代码 · 共 59 行

H
59
字号
#if !defined(AFX_FOLDERSTREE_H__A0EAE6DE_C7A4_11D4_95C8_00A0C9289F1B__INCLUDED_)
#define AFX_FOLDERSTREE_H__A0EAE6DE_C7A4_11D4_95C8_00A0C9289F1B__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// FoldersTree.h : header file
//

class CWorkspaceObj;

/////////////////////////////////////////////////////////////////////////////
// CFoldersTree window

class CFoldersTree : public CTreeCtrl
{
// Construction
public:
	CFoldersTree(const CObList& lstWorkspaces, CImageList& images);

// Attributes
protected:
	CTreeCtrl		m_wndFolders;
	const CObList&	m_lstWorkspaces;
	CImageList&		m_images;

	CMap<CWorkspaceObj*, CWorkspaceObj*, HTREEITEM, HTREEITEM>	m_Items;

// Operations
public:
	BOOL SelectWorkspace (CWorkspaceObj* pWS);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFoldersTree)
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CFoldersTree();

	// Generated message map functions
protected:
	//{{AFX_MSG(CFoldersTree)
	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_FOLDERSTREE_H__A0EAE6DE_C7A4_11D4_95C8_00A0C9289F1B__INCLUDED_)

⌨️ 快捷键说明

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