Skip to main content

As part of your migration path, we have been slowly introducing Accuterm GUI calls from our TEXT screen subroutines. It all looks great and working well EXCEPT I cannot  bind the model forms or dialog boxes to the Accuterm Window displaying the Green Screen. I need to make the GUI forms and dialog boxes remain within the boundary of the green screen (Accuterm window) and more importantly ON TOP (always visible). If a user clicks anywhere on the green screen, then the GUI dialog/form disappears in behind the screen. Yes, is model so prevents the users moving forward but can anyone help me on this. I do not wish to call a script as there a lot of arguments passing between the green screen and GUI. It would make it beyond clumsy. 

and secondly the splash screen ' This session is running a GUI application' appears in the middle of the green screen. The message has no use, is invasive and needs to be removed. Can anyone help with that also.

Any advice will be greatly received.

As part of your migration path, we have been slowly introducing Accuterm GUI calls from our TEXT screen subroutines. It all looks great and working well EXCEPT I cannot  bind the model forms or dialog boxes to the Accuterm Window displaying the Green Screen. I need to make the GUI forms and dialog boxes remain within the boundary of the green screen (Accuterm window) and more importantly ON TOP (always visible). If a user clicks anywhere on the green screen, then the GUI dialog/form disappears in behind the screen. Yes, is model so prevents the users moving forward but can anyone help me on this. I do not wish to call a script as there a lot of arguments passing between the green screen and GUI. It would make it beyond clumsy. 

and secondly the splash screen ' This session is running a GUI application' appears in the middle of the green screen. The message has no use, is invasive and needs to be removed. Can anyone help with that also.

Any advice will be greatly received.

Hi Richard,

An AccuTerm GUI screen will always start on top of the AccuTerm window that called/created it - but you can't keep it there. It is its own Window, and Windows just doesn't work that way.

As for the message on your green screen, that really is necessary to tell the user that they can't use that window for "normal" usage while the session is acting as a data pipe for the GUI application.

Cheers,

Brian


As part of your migration path, we have been slowly introducing Accuterm GUI calls from our TEXT screen subroutines. It all looks great and working well EXCEPT I cannot  bind the model forms or dialog boxes to the Accuterm Window displaying the Green Screen. I need to make the GUI forms and dialog boxes remain within the boundary of the green screen (Accuterm window) and more importantly ON TOP (always visible). If a user clicks anywhere on the green screen, then the GUI dialog/form disappears in behind the screen. Yes, is model so prevents the users moving forward but can anyone help me on this. I do not wish to call a script as there a lot of arguments passing between the green screen and GUI. It would make it beyond clumsy. 

and secondly the splash screen ' This session is running a GUI application' appears in the middle of the green screen. The message has no use, is invasive and needs to be removed. Can anyone help with that also.

Any advice will be greatly received.

Hi Richard - 

As Brian said, the GUI window and AccuTerm window are owned by different Windows processes and its quite difficult to alter the normal behavior regarding activation, placement, etc. And the notification box "this session is running a GUI application" is to inform users that they cannot use the screen for normal data entry while the GUI app is running. This is a limitation imposed by the single-threaded nature of MV processes. What some developers have done is to hide the main AccuTerm window while the GUI part of their application is running. This can be done with a small VBA script. However, from your description, your app is still heavily green-screen, with modal dialogs from GUI to augment. In that case I can't think of much. Maybe some advanced scripting to disable (not hide) the AccuTerm session window using an API call.

Thanks, Pete