forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


App losing focus

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DavidR
Contributor
Contributor


Joined: 05 Aug 2003
Posts: 83
Location: Bethel Pennsylvania U.S.A.

PostPosted: Wed Sep 22, 2004 10:27 pm    Post subject: App losing focus Reply with quote

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
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Sep 23, 2004 3:32 am    Post subject: Reply with quote

How 'bout using
RUNH "C:\Progra~1\MyApp\external_app.exe"
instead?

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group