Hiding and Showing the OpenEngine Window (Functions/Subroutines/Programs)
Created at 24 SEP 1998 04:19PM
In some cases developers do not want to show the OpenEngine window (for example, to prevent the user from closing the engine and causing the application to crash.) Here is a stored procedure you can copy and paste into your copy of OpenInsight to "hide" or "show" the OpenEngine window.
*******************************
subroutine showOpenEngine ( bState )
declare function FindWindow
declare subroutine ShowWindow
** Get the OpenEngine handle
openEngineHandle = FindWindow("AREV":\00\,0)
** Show or hide the window based on what was passed into the stored procedure
ShowWindow(openEngineHandle,bState)
return
*******************************