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. WM_MOUSEHOVER and TRACKMOUSEEVENT unknown?

WM_MOUSEHOVER and TRACKMOUSEEVENT unknown?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
3 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.
  • T Offline
    T Offline
    tareqsiraj
    wrote on last edited by
    #1

    Hello there, I am trying to build a custom button in win32 c++ and trying to utilize the WM_MOUSEHOVER message in the Window Procedure. But when i try to compile the code it says WM_MOUSEHOVER is undeclared and TRACKMOUSEEVENT is missing!!! I have not defined WIN32_LEAN_AND_MEAN or any such thing. I am using VC++ 6.0 Pro. Please help me out and thankx in advance. -Tareq

    L 1 Reply Last reply
    0
    • T tareqsiraj

      Hello there, I am trying to build a custom button in win32 c++ and trying to utilize the WM_MOUSEHOVER message in the Window Procedure. But when i try to compile the code it says WM_MOUSEHOVER is undeclared and TRACKMOUSEEVENT is missing!!! I have not defined WIN32_LEAN_AND_MEAN or any such thing. I am using VC++ 6.0 Pro. Please help me out and thankx in advance. -Tareq

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      I guess you need to download the latest Platform SDK. My old MSDN Library (from 2000) doesn't know the message as well, but it works with the latest Platform SDK nonetheless. regards

      T 1 Reply Last reply
      0
      • L Lost User

        I guess you need to download the latest Platform SDK. My old MSDN Library (from 2000) doesn't know the message as well, but it works with the latest Platform SDK nonetheless. regards

        T Offline
        T Offline
        tareqsiraj
        wrote on last edited by
        #3

        I think youre right. I have tried the same code with the new mingw compiler and it works like a charm. :) but the only problem is debugging :( so i guess i have to work with it until i complete downloading the platform sdk (300MB+) on my dialup line :((. Thankx man. -Tareq

        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