When I use the Shell function to start a copy of Calc.exe, I can save the ProcessID that is returned from the Shell Function. I can use this ProcessID to get the ProcessHandle using the OpenProcess API function.
Can I use either of these to restore the Calc window after it has been minimized?
I do not want to use the FindWindow API function because it may return an hWnd to a copy of Calc that was not started by me. I only want to be concerned with the copy that I have started. Can I use any other API functions to find the hWnd to my copy of Calc, or to restore the minimized Calc.
Thanks,
Raney
Can I use either of these to restore the Calc window after it has been minimized?
I do not want to use the FindWindow API function because it may return an hWnd to a copy of Calc that was not started by me. I only want to be concerned with the copy that I have started. Can I use any other API functions to find the hWnd to my copy of Calc, or to restore the minimized Calc.
Thanks,
Raney