DavidR Contributor

Joined: 05 Aug 2003 Posts: 83 Location: Bethel Pennsylvania U.S.A.
|
Posted: Wed Sep 22, 2004 10:27 pm Post subject: App losing focus |
|
|
I have an application that runs another application in the background to process some data.
My application periodically creates a data file and writes it to disk.
The other application looks for the data file, processes it and waits for the next one to appear. Unfortunately the other application pops up a little message window for a fraction of a second while it processes the data, then it closes it.
I create my app like this:
DIALOG CREATE,My Application,-1,0,640,450,ONTOP
I start the external application like this
RUNZ "C:\Progra~1\MyApp\external_app.exe
Under Windows 9x it worked great. I never saw the other apps message window because mine was always ontop and retained focus.
Under XP however although I still dont see the message window, everytime the other app runs my program loses focus (top bar goes from blue to gray). If you're in the middle of typing, you have to click on my app to regain focus before you can continue. This is a real pain and I have not figured out how to make sure my application never loses focus!
Any suggestions?
...............David |
|