📄 vsstreectrl.h
字号:
#if !defined(AFX_VSSTREECTRL_H__090AAE85_4D64_4206_9ABA_1D367E3F2EF6__INCLUDED_)
#define AFX_VSSTREECTRL_H__090AAE85_4D64_4206_9ABA_1D367E3F2EF6__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// VSSTreeCtrl.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CVSSTreeCtrl window
// #ifdef _VSS5_
// # pragma message("------")
// # pragma message("If compiling with the VSS5 version of SSAPI.dll you must ")
// # pragma message("rename the dll to SSAPI5.dll")
// # import "ssapi5.dll" no_namespace
// # pragma message("------")
// #else
// # import "ssapi.dll" no_namespace
// #endif
#import "d:\vss\win32\ssapi.dll" no_namespace
class CVSSTreeCtrl : public CTreeCtrl
{
// Construction
public:
CVSSTreeCtrl();
BOOL OpenDatabase(LPCTSTR szDatabasePath, LPCTSTR szUser, LPCTSTR szPassword = NULL);
CString GetSelectedProject();
// Attributes
IVSSDatabasePtr m_vssdb;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CVSSTreeCtrl)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CVSSTreeCtrl();
// Generated message map functions
protected:
//{{AFX_MSG(CVSSTreeCtrl)
afx_msg void OnItemexpanding(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
void RecurseSubProj(HTREEITEM htItem, CString buf, int nLevelsToGo);
CString GetFullPath(HTREEITEM htItem);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_VSSTREECTRL_H__090AAE85_4D64_4206_9ABA_1D367E3F2EF6__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -