How can I create a program that launches a window,
runs through a dialog and then closes the window and runs
in the background. I'd like to have application controls
through the use of the System Tray Icon and a shortcut menu
launched from it!

Tips? Pointers? Examples?

Thanks in advance... -Serp