Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement