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:
01252576
Vues:
17
Just to clarify, are you launching a form at app startup?

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform