ToolTipHeaderCtrl.h
资源名称:GGBT.rar [点击查看]
上传用户:lds876
上传日期:2013-05-25
资源大小:567k
文件大小:1k
源码类别:
P2P编程
开发平台:
Visual C++
- #if !defined(AFX_TOOLTIPHEADERCTRL_H__8BA94EC0_01DD_4EF7_9C77_90A437D5627E__INCLUDED_)
- #define AFX_TOOLTIPHEADERCTRL_H__8BA94EC0_01DD_4EF7_9C77_90A437D5627E__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ToolTipHeaderCtrl.h : header file
- //
- #define MAX_TIP_LENGTH 80
- /////////////////////////////////////////////////////////////////////////////
- // CToolTipHeaderCtrl window
- class CToolTipHeaderCtrl : public CHeaderCtrl
- {
- // Construction
- public:
- CToolTipHeaderCtrl();
- // Attributes
- public:
- // Operations
- public:
- int AddToolTip(int nCol, LPCTSTR lpszTip);
- void RecalcToolRect();
- protected:
- CToolTipCtrl m_Tooltip;
- // Attributes
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CToolTipHeaderCtrl)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- protected:
- virtual void PreSubclassWindow();
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CToolTipHeaderCtrl();
- // Generated message map functions
- protected:
- //{{AFX_MSG(CToolTipHeaderCtrl)
- afx_msg void OnMove(int x, int y);
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_TOOLTIPHEADERCTRL_H__8BA94EC0_01DD_4EF7_9C77_90A437D5627E__INCLUDED_)