2026-10-04 00:04:20 +08:00
|
|
|
#if !defined(AFX_TITLETIP_H__FB05F243_E98F_11D0_82A3_20933B000000__INCLUDED_)
|
2026-09-28 15:28:50 +08:00
|
|
|
#define AFX_TITLETIP_H__FB05F243_E98F_11D0_82A3_20933B000000__INCLUDED_
|
|
|
|
|
|
|
|
|
|
#if _MSC_VER >= 1000
|
|
|
|
|
#pragma once
|
|
|
|
|
#endif // _MSC_VER >= 1000
|
|
|
|
|
|
|
|
|
|
#define TITLETIP_CLASSNAME _T("AViewerTip")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CTitleTip : public CWnd
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
CTitleTip();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
//{{AFX_VIRTUAL(CTitleTip)
|
|
|
|
|
public:
|
|
|
|
|
virtual BOOL PreTranslateMessage(MSG* pMsg);
|
|
|
|
|
//}}AFX_VIRTUAL
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
void Show( CRect rectTitle, LPCTSTR lpszTitleText, int xoffset = 0);
|
|
|
|
|
virtual BOOL Create( CWnd *pParentWnd);
|
|
|
|
|
virtual ~CTitleTip();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
CWnd *m_pParentWnd;
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
//{{AFX_MSG(CTitleTip)
|
|
|
|
|
afx_msg void OnMouseMove(UINT nFlags, CPoint point);
|
|
|
|
|
//}}AFX_MSG
|
|
|
|
|
DECLARE_MESSAGE_MAP()
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
//{{AFX_INSERT_LOCATION}}
|
|
|
|
|
|
|
|
|
|
#endif // !defined(AFX_TITLETIP_H__FB05F243_E98F_11D0_82A3_20933B000000__INCLUDED_)
|
|
|
|
|
|