Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
App does not start on top in Win2000
Message
From
24/07/2000 17:44:35
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00396363
Message ID:
00396372
Views:
11
Hi Dennis,
>I got a new machine last week with Win2000. The VFP app that I am about ready to release does not startup on top of the other windows on the screen when I start the EXE. It works OK in Win95 and WinNT.
>
>I have noticed this behavior with other programs in Win2000. For instance QuickView Plus starts up behind the Explorer window when I view a file. Does anybody know if this is a bug or a new feature of Win2000?
>
>I found that I can get my app to come the top with 2 lines of code:
>
>_SCREEN.AlwaysOnTop = .T.
>_SCREEN.AlwaysOnTop = .F.
>
>but it does not get focus until I click on it.
>
>Does anybody know how I can set focus to my app? Maybe an API function?

Check out the ShowWindow API function

Jon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform