Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting rid of DOS window on running EXE and...
Message
 
 
To
21/04/2003 11:08:35
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00779810
Message ID:
00779820
Views:
14
>Secondly, when a timer event fires in the EXE that I ran automatically I want to bring to app to the front of all windows that are open. For now, the window that jumps to the front does not need to be a modal app but I'm curious how I might do that if needed.
>
You can try SetForegroundWindow API #12720
DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd
IF SetForegroundWindow(_VFP.hWnd) = 0
	*WAIT WINDOW "Didn't work"
ENDIF
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform