Basically we have two apps:
- App "A" starts by itsself hidden;
- App "B" should control the visibility of app "A" using the window handle
You should proceed as follow:
- first, to have app "A" invisible, use a mask that will cover completely the app;
- when app "A" starts, writes its window handle in an INI file;
- app "B" will read the window handle of app "A" in the INI file and will use it to send a Window.SetMask (app_A_handle, "") command;
- in the same way, when you want to hide again the app "A", send Window.SetMask (app_A_handle, mask_file_path)
Obviously, other commands (like "Window.Hide") can be sent in this way.
Note: On Windows 9x systems, this action will only work on AutoPlay created windows at runtime. This means masks cannot be applied to any windows belonging to other programs on Windows 9x systems
We are slowly invading your planet to teach lazy humans to read the user manual.
But don't be scared: we are here to help.