Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUN_WITH Problems..
Message
From
04/07/2002 04:49:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
RUN_WITH Problems..
Miscellaneous
Thread ID:
00675266
Message ID:
00675266
Views:
53
Hi.

I've used a modified RUN_WITH that uses the shell command. To open a file in another program. However, with some applications (micrographics designer..)
I can't get the window to show in front of my application...

It seems like I call the SHELL code to open the application and it comes up as normal but suddenly after loading the focus shifts back to our application...

a)It seems like the code continues processing and sets focus back to the application. Is there a way to stop this?

b) Is there a problem in VFP 7 with the application always remaining on top?

Code works like this.
Right Click Menu..
Call:
EditImage(oCtrl,oCtrl.aShadowPicts[nPopup-6,1])
this does a ShellExecute...
Menu Code Executes...
Screen Activates...

I can't use ShowWindow because I never can know what application title to search for...

I realize the description is a bit vague but I'm finding this a little hard to follow...

thanks
Next
Reply
Map
View

Click here to load this message in the networking platform