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