LuisEnrique
Programmer
Hi:
I was wondering if there is a way to put ToolTips to a CBitmap object. I have a line that says:
m_ToolTip.AddTool(&m_Bmp, _T("This is a picture");
were m_Bmp is a CBitmap object. The compiler comes with an error saying:
...int __thiscall CToolTipCtrl::AddTool(class CWnd *,unsigned int,const struct tagRECT *,unsigned int)' : cannot convert parameter 1 from 'class CBitmap *' to 'class CWnd *'
Is there something that I need to do to make this work? Any answer is more than welcome.
Best regards,
Luis E.
I was wondering if there is a way to put ToolTips to a CBitmap object. I have a line that says:
m_ToolTip.AddTool(&m_Bmp, _T("This is a picture");
were m_Bmp is a CBitmap object. The compiler comes with an error saying:
...int __thiscall CToolTipCtrl::AddTool(class CWnd *,unsigned int,const struct tagRECT *,unsigned int)' : cannot convert parameter 1 from 'class CBitmap *' to 'class CWnd *'
Is there something that I need to do to make this work? Any answer is more than welcome.
Best regards,
Luis E.