Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launch App from Explorer and Focus shifts back to Explor
Message
 
 
À
05/09/2007 14:47:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01252535
Message ID:
01252568
Vues:
14
Check if Re: How to get focus to my VFP app from a VFP utility once c Thread #1220775 Message #1220782 may help.

>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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform