Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make FoxPro top window automatically with a timer
Message
From
06/09/2001 13:14:30
 
 
To
06/09/2001 12:09:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00553209
Message ID:
00553248
Views:
16
Hi Larry

The following should do the trick. But only from the application itself.

* This will insure the form is visible on the desktop.
THISFORM.WINDOWSTATE = 2
* This will bring it to the forground of the desktop.
DECLARE INTEGER FindWindow IN Win32API STRING, STRING
DECLARE INTEGER SetForegroundWindow IN "User32.dll" INTEGER
hWnd = FindWindow(0,THIS.CAPTION)
=SetForegroundWindow(hWnd)

HTH
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform