how could i disable the mouse so the pointer disappears and wont move and how could i keep the program so its always on top
how could i disable the mouse so the pointer disappears and wont move and how could i keep the program so its always on top
Use ShowCursor(true/false) to render or hide the cursor. As for keeping it in one place, you could continuously set it coordinates to a specific location whenever your program receives a mouse move message.
On every Windows message loop, see if your window is on top and use ShowWindow() accordingly.
"Optimal decisions, once made, do not need to be changed." - Robert Sedgewick, Algorithms in C