e.g: a game is running and when I press a button, I want my program to show up.
another example : I'm on my desktop and when I press a button, I want my cursor to move to a specific position.
how do I achieve that?
e.g: a game is running and when I press a button, I want my program to show up.
another example : I'm on my desktop and when I press a button, I want my cursor to move to a specific position.
how do I achieve that?
Assuming you are using windows, and using c# to develop the application. 1. You will have to develop a window form application keep it running. write a global mouse event handler, when you detect a mouse click on certain target area, bring your app to front
this.WindowState = FormWindowState.Minimized;
this.Show();
this.WindowState = FormWindowState.Normal;