6#include <helper/obj-ref-impl.hpp>
49 STDMETHOD_(
void,
UpdateTip)(THIS_
const TIPID *id, RECT rc, LPCTSTR pszTip,
int nScale) OVERRIDE;
54 STDMETHOD_(
void,
ClearTip)(THIS) OVERRIDE;
60 STDMETHOD_(
void,
RelayEvent)(THIS_
const MSG *pMsg) OVERRIDE;
69 STDMETHOD_(
void,
SetToolTip)(THIS_ LPCRECT rc, UINT tipAlign, LPCTSTR pszTip,
int nScale) OVERRIDE;
105 REFLECT_NOTIFICATIONS_EX()
Interface and Implementation for Native Window Handling.
void SetToolTip(LPCRECT rc, UINT tipAlign, LPCTSTR pszTip, int nScale) OVERRIDE
设置提示信息
virtual ~STipCtrl(void)
析构函数
void RelayEvent(const MSG *pMsg) OVERRIDE
传递事件
void ShowTip(BOOL bShow)
显示或隐藏提示
void OnPaint(HDC dc)
处理绘制消息
void UpdateFont(int nScale)
更新字体
void UpdateTip(const TIPID *id, RECT rc, LPCTSTR pszTip, int nScale) OVERRIDE
更新提示信息
BOOL PreTranslateMessage(MSG *pMsg) OVERRIDE
预翻译消息
virtual void OnFinalMessage(HWND hWnd)
处理最终消息
void OnTimer(UINT_PTR idEvent)
处理定时器消息
void ClearTip() OVERRIDE
清除提示信息
Identifier for a tooltip.