|
-
October 23rd, 2005, 08:19 AM
#1
Button question from a newbie
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
......
-
October 23rd, 2005, 08:35 AM
#2
Re: Button question from a newbie
You need owner drawn when:
Prior to XP
With XP but without proper manifest.
Code Guru Code Samples for the button using MFC.
-
October 23rd, 2005, 09:56 AM
#3
Re: Button question from a newbie
But now I want to solve my problem, none of them give a concrete solution to my problem...
......
-
October 23rd, 2005, 10:55 AM
#4
Re: Button question from a newbie
 Originally Posted by Cungtrang
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|