Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a window is top most
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00173267
Message ID:
00173603
Views:
32
>George,
>
>If you run the code I posted Tuesday to set the VFP6 help window on top and query the window with the code I posted yesterday it returns .T., when you set the window back to NOTOPMOST the function returns .f. I didn't test it with other windows, but they should all respond the same.
>
>I just tested setting my OE and Netscape Browser windows HWND_TOPMOST and they responded the same to the query. Spy++ also shows that extended style attribute changing.
>
>It seems to work fine for any application level window. Which is what I read Bill wants to check, not child windows of an app.
>
Hi David,

All I can say is, "...Duh!":-) I didn't recognize the constant as being the same one that sets the window as always on top, and confused it with a top level window. After re-reading Bill's post, it becomes clear that your solution is indeed the one he needs. My bad.

Sorry,
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform