#pragma once
#include "global.h"
#include <afxcmn.h>
class CMyTreeCtrl : public CTreeCtrl
{
	DECLARE_DYNAMIC(CMyTreeCtrl)
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);//
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);//ÓÒ¼ü²Ëµ¥
	void SetMenu(int selectedMenu, int notSelectedMenu = 0);
private:
	int selectedMenu = 0, notSelectedMenu = 0;
};

