CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2005
    Posts
    8

    Question 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
    ......

  2. #2
    Join Date
    Dec 2002
    Posts
    1,050

    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.

  3. #3
    Join Date
    Oct 2005
    Posts
    8

    Re: Button question from a newbie

    But now I want to solve my problem, none of them give a concrete solution to my problem...
    ......

  4. #4
    Join Date
    Sep 2002
    Location
    14° 39'19.65"N / 121° 1'44.34"E
    Posts
    9,815

    Re: Button question from a newbie

    Quote 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
  •  





Click Here to Expand Forum to Full Width

Featured