Restore Minimized Windows

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.

I believe it the ShowWindow(hwnd, SW_SHOW);

This will explain it a bit more in depth.
Last edited on
That function was the last touch I needed to the program.
Thank you.
Last edited on
Topic archived. No new replies allowed.