00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(AFX_CTRLNEIGHBOURTIP_H__07D9C280_7166_4F2E_932B_1C9F5DB936C2__INCLUDED_)
00023 #define AFX_CTRLNEIGHBOURTIP_H__07D9C280_7166_4F2E_932B_1C9F5DB936C2__INCLUDED_
00024
00025 #pragma once
00026
00027 #include "CtrlCoolTip.h"
00028
00029 class CGraphItem;
00030
00031
00032 class CNeighbourTipCtrl : public CCoolTipCtrl
00033 {
00034
00035 public:
00036 CNeighbourTipCtrl();
00037 virtual ~CNeighbourTipCtrl();
00038
00039
00040 public:
00041 CLineGraph* m_pGraph;
00042 CGraphItem* m_pItemIn;
00043 CGraphItem* m_pItemOut;
00044
00045
00046 protected:
00047 virtual BOOL OnPrepare();
00048 virtual void OnShow();
00049 virtual void OnHide();
00050 virtual void OnCalcSize(CDC* pDC);
00051 virtual void OnPaint(CDC* pDC);
00052
00053
00054 public:
00055
00056
00057
00058
00059 protected:
00060
00061 afx_msg void OnTimer(UINT nIDEvent);
00062
00063 DECLARE_MESSAGE_MAP()
00064
00065 };
00066
00067
00068
00069 #endif // !defined(AFX_CTRLNEIGHBOURTIP_H__07D9C280_7166_4F2E_932B_1C9F5DB936C2__INCLUDED_)