class CTreeCtrlEx : public CTreeCtrl
{
// Construction
public:
CTreeCtrlEx();
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTreeCtrlEx)
//}}AFX_VIRTUAL
// Implementation
public:
void SetBkColor(COLORREF bkColor);
virtual ~CTreeCtrlEx();
// Generated message map functions
protected:
BOOL m_bOwnerDraw;
COLORREF m_bkColor;
//{{AFX_MSG(CTreeCtrlEx)
afx_msg HBRUSH CtlColor(CDC* pDC, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TREECTRLEX_H__233C6843_693A_11D7_B5BC_00C02683EE44__INCLUDED_)
代码转载,仅供参考。
离开时间过了富可敌国