Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application in Front
Message
 
À
01/11/2001 17:19:12
Charles Richard
Nvo Management Systems
Boisbriand, Québec, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00576432
Message ID:
00576462
Vues:
21
That seems to make the window want to come up. I can see the reference on the taskbar is blinking, but it doesn't bring it up in front. I actually used the example substituting the correct caption, but still no go. Do I need anymore besides:

DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,"PrISM for Windows")
=SetForegroundWindow(hWnd)


>See API #12643 in the API section (set foregroundwindow)

>Is there any way to force an application to the front of the screen. We have two main executables that people run, and if they double click, or click twice on a button to run the second executable, the first one comes up front and the called executable is open but behind the calling executable. I've tried setting the ZOrder on the _Screen object as well as on the splash screen that comes up, but nothing seems to force it up. I've even got a timer on the splash screen so that it continually tries to come to the front and no dice. Didn't know if someone else had run into this before.
>
>And as always, any help would be much appreciated.
>
>John Rowlinson
>Microworks POS Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform