Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting a VFP Window to be on top of all other windows
Message
From
28/03/2000 15:25:51
 
 
To
28/03/2000 14:29:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00351538
Message ID:
00351604
Views:
32
Hi Joe.

Add the following code in to your code and give it a try.

DECLARE Integer SetFocus IN WIN32API Integer

>DECLARE INTEGER ShowWindow IN WIN32API INTEGER hWnd, INTEGER ShowWindowMode
>DECLARE INTEGER GetActiveWindow IN WIN32API

>lnHandle = FindWindow(0, 'frmMessageForm')

>=ShowWindow(GetActiveWindow(),5)

=SetFocus(GetActiveWindow())

Rob.
Previous
Reply
Map
View

Click here to load this message in the networking platform