Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Launch App from Explorer and Focus shifts back to Explor
Message
From
05/09/2007 14:47:09
 
 
To
05/09/2007 14:32:23
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01252535
Message ID:
01252555
Views:
17
Actually it occurs when launched by the loader as well. If any other windows app is open,focus shifts to it (e.g. outlook, windows explorer). In fact, unless a form is launched inside our app which contains an activex control, focus is anyplace BUT The vfp app when it launches.



>>The app is typically launched from a loader, but if it is launched directly from windows explorer, then focus shifts back to windows explorer. This should be a simple one, but I can't seem to recall how to fix it. Any ideas?
>
>An alternate approach would be to make it so your main app won't start unless it's being called from your loader:
>
>- check using PROGRAM(), SYS(16) etc.
>- in your main app check for absence of a parameter expected from your loader
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform