I made an application in C#.net.
It opens minimized, and I want it to be maximized when someone moves his cursor(mouse) anywhere.
How would I go about doing this?
Asked
Active
Viewed 1,641 times
0

EpicKip
- 4,015
- 1
- 20
- 37

Yousha Arif
- 111
- 11
-
try this http://stackoverflow.com/a/3312799/1849024 – imsome1 Feb 23 '17 at 10:38
-
It should be possible by [hooking mouse](https://www.codeproject.com/Articles/7294/Processing-Global-Mouse-and-Keyboard-Hooks-in-C). Btw, requirement "maximized when someone moves mouse" sounds weird, what is the point of starting it minimized? – Sinatr Feb 23 '17 at 10:48
-
SetCursorPos, but this is pure Windows API... – Willy K. Feb 23 '17 at 12:50
-
1@imsome1 thanks... – Yousha Arif Feb 23 '17 at 13:22
-
@Sinatr i just want it to be hidden until someone moves the cursor. – Yousha Arif Feb 23 '17 at 13:25
-
@WillyK. thanks :) – Yousha Arif Feb 23 '17 at 13:26
-
@anyoneWhoisReadingThis above links worked – Yousha Arif May 17 '17 at 19:36
-
Thanks everybody – Yousha Arif May 17 '17 at 19:36