Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making VFP come to front after receiving a drag and drop
Message
De
17/07/2001 12:23:43
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00531491
Message ID:
00531587
Vues:
12
Hi Mark,

Here is something I found here on the UT. I use it in the INIT() of my form to insure that it's the top most '.exe' on the screen. I have no idea if this will work in your case. Since I've never used OLE D&D. But this might set you in the right direction.

DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,THIS.CAPTION)
=SetForegroundWindow(hWnd)

HTH
Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform