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. Graphics
  4. windows grapics system and mouse movement

windows grapics system and mouse movement

Scheduled Pinned Locked Moved Graphics
c++helpquestion
3 Posts 3 Posters 5 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.
  • B Offline
    B Offline
    bil_geo
    wrote on last edited by
    #1

    Hello, Please provide me some inforamation on how windows grapics system and mouse movement is mapped to each other? When we create a GUI using MFC how the mouse movements and MFC control gets mapped? Plz help me thanks in Advance Bil

    W J 2 Replies Last reply
    0
    • B bil_geo

      Hello, Please provide me some inforamation on how windows grapics system and mouse movement is mapped to each other? When we create a GUI using MFC how the mouse movements and MFC control gets mapped? Plz help me thanks in Advance Bil

      W Offline
      W Offline
      Waldermort
      wrote on last edited by
      #2

      The mouse and it's position has nothing to do with MFC. The mouse is controlled by the OS's kernel, raw input is recieved from the mouse, the kernel translates this information into something more meaningful, the kernel applies user settings, then the kernel will send a message to whichever window happens to be beneath the mouse. Applications are only aware of what the kernel tells it about. If the mouse is not over the window, then the window recieves no messages. Take a look on MSDN for the mouse related windows messages.

      1 Reply Last reply
      0
      • B bil_geo

        Hello, Please provide me some inforamation on how windows grapics system and mouse movement is mapped to each other? When we create a GUI using MFC how the mouse movements and MFC control gets mapped? Plz help me thanks in Advance Bil

        J Offline
        J Offline
        John R Shaw
        wrote on last edited by
        #3

        WalderMort is correct in that you (we) do not need to know how it is done. I am one of the few people who have created their own windowing system (before Windows existed) and the details do not matter. Rethink your question, because this one does not provide enough information.

        INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

        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