Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Buttons with alternative message

Buttons with alternative message

Scheduled Pinned Locked Moved C / C++ / MFC
c++question
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    satcat
    wrote on last edited by
    #1

    Hi! Could I show an alternative message when I move the mouse over a button in my Visual C++ application (in a little floating yellow window)? How could I do it? Thank you in advance :) I have no idea :doh:

    V 1 Reply Last reply
    0
    • S satcat

      Hi! Could I show an alternative message when I move the mouse over a button in my Visual C++ application (in a little floating yellow window)? How could I do it? Thank you in advance :) I have no idea :doh:

      V Offline
      V Offline
      valikac
      wrote on last edited by
      #2

      Interesting. Try deriving a class from CButton and handle the mouse move message. If it is within the button control's rectangle, then show the message. Kuphryn

      S 1 Reply Last reply
      0
      • V valikac

        Interesting. Try deriving a class from CButton and handle the mouse move message. If it is within the button control's rectangle, then show the message. Kuphryn

        S Offline
        S Offline
        satcat
        wrote on last edited by
        #3

        Do you know how could I show a message in this way? I don't have idea about this. Thank you!

        L 1 Reply Last reply
        0
        • S satcat

          Do you know how could I show a message in this way? I don't have idea about this. Thank you!

          L Offline
          L Offline
          l a u r e n
          wrote on last edited by
          #4

          tooltips :)


          "there is no spoon"
          biz stuff   about me

          S 1 Reply Last reply
          0
          • L l a u r e n

            tooltips :)


            "there is no spoon"
            biz stuff   about me

            S Offline
            S Offline
            satcat
            wrote on last edited by
            #5

            Thank you, I didn't know its name :doh:

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups