I was wondering, would it be possible to create a small piece of software **that would allow the user to minimize a window by scrolling down on it**? (on the top part that can be used to move it via drag and drop, obviously).

Following the same idea, it would be cool to be able to **scroll up on the task bar icons to restore a minimized windows**. I thought it would be cool (and since the user does not actually click but scrolls instead, it would prevent accidental nearby program openings when trying to restore a window)!

I am a total newbie when it comes to things like these. Could you please indicate me: 

1. if Windows would let me do that (I doubt it wouldn't)?
2. How to code something like that (what language, and so on...)?