/ Forums / Advansys Formativ / Creating Solutions with Formativ / Formativ 2.0 – Applet Chaining / Reply To: Formativ 2.0 – Applet Chaining
I assume you are using Formativ 2.0, given you mention Applet chaining.
This is a difficult question to answer without seeing your applet code, and knowing details of the third party application. Using version 2.0, I suspect the answer probably lies in a mechanism whereby the applet watches the the third party applications window (using FindWindow), and sits a loop while the application is still running, ensuring it remains in the forground for the duration.
Anothet option could involve modifying the third party application (if possible) to locate and hide the GroupWise email view window for the duration so that the user cannot tab back to it. If you can’t change the third party application, you could write a small ‘stub’ application that the applet shells. (instead of the third party app). This stub application then locates and hides the email view window, then shell the third party application. (I am using the term ‘hide’ here in a general sense – you may need to locate the ‘send’ button on the form and temporarily disable it, for example).
This is a tricky problem to solve, but it should be doable. The complexity lies in the fact that three processes are involved that require synchronization from a Windows focus (and process) perspective. A little trickery is often required to work around this type of problem.
I hope this helps.
Advansys Support