Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to bring forward a Windows Application
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01232605
Message ID:
01232641
Views:
20
I use the following API declarations
*** Set UP API Calls
Declare Integer FindWindow IN Win32Api AS FindApp String, String
Declare BringWindowToTop IN Win32APi AS MakeTop Integer
Declare ShowWindow IN Win32Api AS ShowWin Integer, Integer

Then, since you have found the window/handle ;
*** So make it uppermost and maximize it (ShowWin => 3)
MakeTop( lnHWND )
ShowWin( lnHWND, 3 )
Thanks to Andy Krameck for his OnceOnly.prg

Al
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform