-
say you have a button on your program and as a joke you don't want the cursor to click on it. How would you make it so that you cant move your cursor over a button. Like say here is a button ||| and this is your cursor <--. How would you make it so it can only go to the sides of the button
but never touch it, sorta like this like this -->|||<--.
-
Use the SetCursorPos API to set a new position whener the Cursor is greater than the Left, less than the Width, greater than the Top and Less than the Height.