How would you restore a minimized window back to the screen from code instead of by user input?
I have a stopwatch/alarm-clock type program that I'm working on, and I want the user to be able to minimize the window while the timer is counting down, but I want it to restore itself to the middle of the screen when the alarm goes off.