Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I get Top Level Form to be on Top ?
Message
From
16/04/2004 06:46:05
 
 
To
02/04/2004 13:55:55
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00891851
Message ID:
00895463
Views:
15
You haven't got a conflicting "AlwaysOnTop=.T. " on any other forms, have you?

Terry

>I'm using VFP 7.0
>
>I have an exe that opens a Top Level Form (showwindow=2), but I can't seem to get it to appear on top of all the other windows.
>
>I have a different app that works just fine, but I can't get this one to work properly, and I can't find any differenct between the 2 apps.
>I have this in both forms and call it, but it doesn't work in the 2nd app.
>
>myForm.SetFocus()
>  DECLARE INTEGER SetForegroundWindow ;
>    IN User32.DLL INTEGER
>  SetForegroundWindow( THIS.HWND )
>
>I've even set AlwaysOnTop=.T. and it still won't go to the top.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform