What we are doing is gradually migrating an MS Access program to ExeOutput. And there are certain times when Access forms have the focus and we can’t allow our customers to get to the ExeOutput window.
So the plan is to hide the ExeOutput window until it is ready to get the focus back.
If you wish to hide the main window, you could try:
procedure Minimize;
begin
SetUIProp("bsBusinessSkinForm1","WindowState","1");
end;
It uses the built-in code instead of a Windows API that may not be compatible with the skin engine.
Possible Values:
Normal: 0
Minimized: 1
Maximized: 2
Or even, if you work with the tray icon feature, you may use the built-in functions:
procedure TrayShowMainForm;
and
procedure TrayHideMainForm;
That’s normal. It must be run from the GUI (for instance, with a button), not from PHP.
PHP applications are multi-threaded applications so the best is to use JavaScript or HEScript to change the GUI. Otherwise, yes, you can have crashes in some situations.