|
#if !defined(AFX_TREECTRLCH_H__EAE31712_77AA_4272_BC11_DFE44B3CD0EC__INCLUDED_)
#define AFX_TREECTRLCH_H__EAE31712_77AA_4272_BC11_DFE44B3CD0EC__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// TreeCtrlCh.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CTreeCtrlCh window
class ItemDataABSTRACT
{
public:
virtual CString GetToolTipString() = 0;
virtual ~ItemDataABSTRACT(){};
protected:
ItemDataABSTRACT(){};
};
class CTreeCtrlCh : public CTreeCtrl
{
// Construction
public:
CTreeCtrlCh();
int OnToolHitTest(CPoint point, TOOLINFO * pTI) const;
void CleanItemData();
BOOL OnToolTipText( UINT id, NMHDR * pNMHDR, LRESULT * pResult );
void DeleteBranchData( HTREEITEM hti);
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTreeCtrlCh)
protected:
virtual void PreSubclassWindow();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTreeCtrlCh();
// Generated message map functions
protected:
//{{AFX_MSG(CTreeCtrlCh)
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TREECTRLCH_H__EAE31712_77AA_4272_BC11_DFE44B3CD0EC__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.