#pragma once

enum EStatusBarPane
{
	SBarLog = 0,
	SBarUsers,
	SBarUpDown,
	SBarConnected,
	SBarChatMsg
};

// NEO: NTT - [NewToolTips] -- Xanatos -->
#	define SB_LOG			0
#	define SB_MSG			4
#	define SB_UP_SPEED		1
#	define SB_DN_SPEED		2
#	define SB_SERVER		3
// NEO: NTT END <-- Xanatos --

class CMuleStatusBarCtrl : public CStatusBarCtrl
{
	DECLARE_DYNAMIC(CMuleStatusBarCtrl)

public:
	CMuleStatusBarCtrl();
	virtual ~CMuleStatusBarCtrl();

	void Init(void);
	HICON GetTipInfo(CString &info); // NEO: NTT - [NewToolTips] <-- Xanatos --

protected:
	int GetPaneAtPosition(CPoint& point) const;

	// NEO: NTT - [NewToolTips] -- Xanatos --
	//CString GetPaneToolTipText(EStatusBarPane iPane) const;
	//virtual int OnToolHitTest(CPoint point, TOOLINFO* pTI) const;

	DECLARE_MESSAGE_MAP()
	afx_msg void OnLButtonDblClk(UINT nFlags,CPoint point);
//#ifdef NEO_BC // NEO: NMFS - [NiceMultiFriendSlots] -- Xanatos -->
//	afx_msg void OnToolTipNotify( UINT id, NMHDR * pNotifyStruct, LRESULT * result );
//#endif // NEO_BC // NEO: NMFS END <-- Xanatos --
};
