Originally posted by: Col
The tool tip that is displayed only appears at the first point that the mousemove supplies. On subsequent mouse moves it does not update the tool tip, it does not disapear and just stays displayed at the first point.
What modifications need to be made to make it be displayed under the cursor as it moves?
Originally posted by: jim
Just what I needed
Reply
Originally posted by: burt
This is INSANE!!!
ReplyOriginally posted by: Jung-hun KIM
I found this control has another bug.
It makes a box( Don't know how to call it exactly...) on the task bar every time it shows toolTip. So, If the parent program which calls this toolTip is destroyed, the box on the task bar doesn't distroy it self.
Well, please Code Guru! Fix this bug. Thanx.
Originally posted by: Steve Lupton
This works great for a graphical application I am doing now...Thanks!!
Reply
Originally posted by: Mike DeKoker
Everything that was mentioned about this control can be done with MFC's CTooltipCtrl.
Originally posted by: Larry Heller
What's "Without MFC" about this? You provide an alternative to the MFC tooltip class, but you wrote it using MFC. Your article title implies this code can be used in projects that don't use MFC at all (there are some, you know, such as the lightweight ATL controls I am building)
ReplyOriginally posted by: Marc Hunter
How can I get this to display a multi-line tip?
ReplyOriginally posted by: Dhandapani Ammasai
Please correct the following bugs for the code to work correctly:
#1 In Show() method , pass the point as parameter
CYourWnd::OnMouseMove ( UINT nFlags, CPoint point ))
{
m_ToolTip .SetText(GetDescription(point));
m_ToolTip.Show(point);
CWnd::OnMouseMove(nFlags, point);
}
#2 If you download the code, some of the comments may go to the next line and cause some compile errors. So, add // (comment) to those lines.