Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a window is top most
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00173267
Message ID:
00173576
Vues:
34
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.

>Doesn't this only apply to windows that have been set as "always on top"? I know that the main VFP window (for example) doesn't show as WS_EX_TOPMOST in Spy++. When you take an old style help file (as you mentioned) and set it as always on top, it has this property. When you set it back to the default, it doesn't. I'm not sure that this is what Bill was looking for.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform