Here is what I am looking for: The program has been running and all windows have been closed. When you click on the icon, the main window opens up. Nothing is minimized.
Uncle Skeleton: I checked out the documentation on that and it looks like it is what I need. Where would you place that function? Also, do I need to make any connections in IB?