Hiding and Showing the OpenEngine Window (Functions/Subroutines/Programs)

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

*******************************

  • kb/kb_articles/kb0171.txt
  • Last modified: 2024/01/30 13:36
  • by 127.0.0.1