Originally Posted by dglienna
I have a form that isn't sizeable, as a background to my app. If the user alt-tabs to a different app, my program is no longer shown in the taskbar, and can only be continued by using the task manager to Switch To.
I am thinking that I should be able to have the user restart the app to continue, but am having trouble making it so. Right now, if the previous instance of the app is true, I end starting it up again.
What do I have to do to "switch to" the previous instance? I know it can't be too difficult, but have tried a few different ways, including my find window app to send the wm_activate message to it. That seems kind of overkill.
Can't I use ME when I restart it to start a previous instance?
Thanks.