Hi,
Is it possible to get the FW application exit event to the foreground ?
Hi,
Is it possible to get the FW application exit event to the foreground ?
This way you put a window foreground
SetForeGroundWindow( oWnd:hWnd )
Next, do you want to close it ?
I don't need to bring the application to the foreground. I just wanted to know if my app is in the foreground or not ?
if GetForeGroundWindow() == oWndMain:hWnd
  MsgInfo( "you app is in foreground" )
endifThank you, Antonio!
Is it possible to intercept the moment when the window is in the foreground ? For example, my application is in the background. In the foreground is some other application. I am closing this application. As a result, my application comes to the fore. This is the moment I need to catch
It seems as EVENT_SYSTEM_FOREGROUND is the event to check
Lets look for some examples...
I'll try using EVENT_SYSTEM_FOREGROUND. Or I'll just check GetForegroundWindow() == oWndMain:hWnd in the timer