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. Problem with mousewheel

Problem with mousewheel

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
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.
  • R Offline
    R Offline
    Rozis
    wrote on last edited by
    #1

    I have an annoying but simple issue: I wrote a program that responds to mousewheel messages. The program works ok but there is one annoying thing: When i start it, it does not respond to mousewheel messages. When i activate an arbitrary other program (by clicking on it in the taskbar) and then go back to my program it will respond to mousewheel messages. So it seems that my program is activated when it is started but not 'enough' to get the mousewheel-messages going. Is there anyone that can give light to this issue? Also suggestions on how to test things are welcome - just give me a possible clue Rozis

    _ 1 Reply Last reply
    0
    • R Rozis

      I have an annoying but simple issue: I wrote a program that responds to mousewheel messages. The program works ok but there is one annoying thing: When i start it, it does not respond to mousewheel messages. When i activate an arbitrary other program (by clicking on it in the taskbar) and then go back to my program it will respond to mousewheel messages. So it seems that my program is activated when it is started but not 'enough' to get the mousewheel-messages going. Is there anyone that can give light to this issue? Also suggestions on how to test things are welcome - just give me a possible clue Rozis

      _ Offline
      _ Offline
      _Superman_
      wrote on last edited by
      #2

      Use a program like Spy++ that comes along with Visual Studio and check what messages, if any, are being sent to your application for a mouse wheel event.

      «_Superman_» I love work. It gives me something to do between weekends.
      Microsoft MVP (Visual C++)

      R 1 Reply Last reply
      0
      • _ _Superman_

        Use a program like Spy++ that comes along with Visual Studio and check what messages, if any, are being sent to your application for a mouse wheel event.

        «_Superman_» I love work. It gives me something to do between weekends.
        Microsoft MVP (Visual C++)

        R Offline
        R Offline
        Rozis
        wrote on last edited by
        #3

        Ok this is good hint. I'll try it.. But I Remembered I tried this before but I couldn't make sense of it. There was one message more in the 2 cases but that one did not give me any clue. Give me a day or so and i'll report my findings here.. Rozis

        modified on Wednesday, November 25, 2009 8:28 PM

        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