Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bring app to forefront
Message
From
24/11/2004 12:42:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Bring app to forefront
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00964386
Message ID:
00964386
Views:
43
Hi All

I have an app that starts another program using ShellExecute() api. The other app runs minimized and performs some work and my app waits for it to finish. When the other program finishes, however, my app is not the foremost window. It is visible but it is not the foremost window. I tried using SetForegroundWindow( _VFP.hWnd ) api but this just makes my app flash on the Windows taskbar but does not make my window the foremost active window. Any suggestions?
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Next
Reply
Map
View

Click here to load this message in the networking platform