Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making Form At Top
Message
From
24/10/2001 04:36:08
 
 
To
24/10/2001 04:23:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00572469
Message ID:
00572472
Views:
20
Hi!

You require to use SetForegrounWindow() Windows API function. You can find VFP main screen window HWND handle by using GetActiveWindow() or FindWindow() API functions.

>Hi,
>
>I have an VFP 5 app that works in background. How to make it the top most window on some event. I use form.show to make it visible but for example when some other app or game is running the form only gets visible but focus is not switched to it.
>
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform