Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API to move to front
Message
From
19/05/2009 11:49:40
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01400668
Message ID:
01400675
Views:
76
>Hi Gang...
>
>In the EXE here, it calls another EXE that comes to the front of the desktop.
>
>After 300 seconds, the first EXE needs to come back to the front, but it doesn't.
>
>Is there an API to move the first EXE back to the front after the timeout?
>

Next to SetForeGroundWindow() etc., perhaps you can handle it internally: if the first.EXE is your own Vfp code, then this might work (assuming _screen.Visible=.T.):
With _screen
    .AlwaysOnTop = !.AlwaysOnTop
    .AlwaysOnTop = !.AlwaysOnTop
EndWith
hth
-Stefan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform