Click here to Skip to main content
15,867,895 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using MFC project and I have a dialog . In the dialog I draw a chart to display the histogram of an image. Now I would like to display the value when my mouse is over the chart.

Here my dialog look like
Plese help me!
Posted

1 solution

Please see, for example, http://stoned.8m.com/Source/MFC/mousehover.html[^].

—SA
 
Share this answer
 
Comments
Toan Pham Anh 18-Mar-14 13:01pm    
I make it in my dialog class , but nothing happen. Maybe I must make a new class of static edit and add the code to it?
Sergey Alexandrovich Kryukov 18-Mar-14 19:10pm    
How can I know why? Due to warm weather and extensive snow melting, my access to you hard drive is somewhat limited.
—SA
Toan Pham Anh 19-Mar-14 1:38am    
I followed the example above , but it hasn't work.Someone says that window stop sending WH_MOUSEMOVE to the dialog and so it doesn't work. What do you think about it. Please explain it to me.I would like to know what happen. I accept your solution , but I must change my code as This
Sergey Alexandrovich Kryukov 19-Mar-14 1:43am    
Not clear. WM_MOUSEMOVE will be not sent to dialog as soon as the mouse leaves it. If you want to keep receiving this message, you should capture the mouse.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900