Do you know how to [hight-light] a button when my mouse is just right above it ? Does this have to be sort of an owner-drawing thing as I have just read some other posts around on board ?
Thanks a lot in advance
Printable View
Do you know how to [hight-light] a button when my mouse is just right above it ? Does this have to be sort of an owner-drawing thing as I have just read some other posts around on board ?
Thanks a lot in advance
You need owner drawn when:
Prior to XP
With XP but without proper manifest.
Code Guru Code Samples for the button using MFC.
But now I want to solve my problem, none of them give a concrete solution to my problem...
That's because your problem is still unclear. If you are using Windows XP as the target platform, and include the required manifest, then the hovering display will be automatic. If this is an option for you, you're done. If not, then you will need to use owner-drawing, and handle WM_MOUSEMOVE messages accordingly. In that case, you should find many examples among the articles mdmd pointed you to.Quote:
Originally Posted by Cungtrang