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. Mouse Move Capture

Mouse Move Capture

Scheduled Pinned Locked Moved C / C++ / MFC
graphics
2 Posts 2 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
    shiv nand
    wrote on last edited by
    #1

    Hi All,i want to capture mouse move over a CButton(Button Controls) in a dialog.Whenever i move mouse over a button i want to change the button properties eg : button color, button picture(Bitmap). Please any one have any idias or any examples, which helps me. Thanks in Advance

    K 1 Reply Last reply
    0
    • S shiv nand

      Hi All,i want to capture mouse move over a CButton(Button Controls) in a dialog.Whenever i move mouse over a button i want to change the button properties eg : button color, button picture(Bitmap). Please any one have any idias or any examples, which helps me. Thanks in Advance

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      hapyy coding with TRACKMOUSEEVENT tme;//class member !!! tme.cbSize = sizeof(tme); tme.dwFlags = TME_LEAVE|TME_HOVER; tme.dwHoverTime = 1; _TrackMouseEvent(&tme);// and ON_MESSAGE(WM_MOUSELEAVE, OnMouseLeave) ON_MESSAGE( WM_MOUSEHOVER, OnMouseHover ) Press F1 for help or google it. Greetings from Germany

      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