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. About SDK programming

About SDK programming

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++
5 Posts 4 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.
  • X Offline
    X Offline
    xuhongsheng
    wrote on last edited by
    #1

    Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:

    G A 2 Replies Last reply
    0
    • X xuhongsheng

      Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:

      G Offline
      G Offline
      Gregg Carlstrom
      wrote on last edited by
      #2

      WM_MOUSEWHEEL is declared in winuser.h; are you #including windows.h?

      J 1 Reply Last reply
      0
      • G Gregg Carlstrom

        WM_MOUSEWHEEL is declared in winuser.h; are you #including windows.h?

        J Offline
        J Offline
        JerzyPeter
        wrote on last edited by
        #3

        Use this line: #define _WIN32_WINNT 0x0500 Should work, Jerzy

        A 1 Reply Last reply
        0
        • J JerzyPeter

          Use this line: #define _WIN32_WINNT 0x0500 Should work, Jerzy

          A Offline
          A Offline
          Anders Molin
          wrote on last edited by
          #4

          Use this line: #define _WIN32_WINNT 0x0500 Why? The Platform SDK Doc. say that it should also work under Win9x... With that define, the application might only wotk under Win2k. - Anders Money talks, but all mine ever says is "Goodbye!"

          1 Reply Last reply
          0
          • X xuhongsheng

            Now I want to handle the message of WM_MOUSEWHEEL. But while I add this handler in the message processing function, the VC++ compiler tell me that error C2065: 'WM_MOUSEWHEEL' : undeclared identifier but the WM_MOUSEWHEEL is identified while I check in the MSDN, and no other header file is requested in the help of MSDN.:confused:

            A Offline
            A Offline
            Anders Molin
            wrote on last edited by
            #5

            You might need to install the Platform SDK. It updates your headerfiles to newer versions... - Anders Money talks, but all mine ever says is "Goodbye!"

            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