   C/C++ Mouse Question
  Hi all,I want block the mouse in a windowed application without going out.Is difficult to explain it but is like in videogames in windowed modeYou can't go out with cursor from application without press "windows key".   
  This is usually called "grabbing the (mouse) input". This depends heavily on what API you are using for input and possibly what OS.   ;  Look this screen:http://yfrog.com/j4outsidecursorjThe cursor is getting out of my window   ;  The solution still depends on the API, but aside from that, I'm noticing the game cursor isn't at the edge of the window as it normally would be if the window manager cursor leaves the window. Is the game cursor moving with the window manager cursor?   ;  What you'll usually find in situations like this, is: you need to keep resetting the pointer's coordinates to the center of the window every time it moves. When it comes to moving your own virtual pointer, you basically get the distance the pointer has moved from the center, and update your own virtual pointer's coordinates appropriately.   