Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a window is a VFP editor window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Determining if a window is a VFP editor window
Divers
Thread ID:
01451683
Message ID:
01451683
Vues:
124
Is there a foolproof way of determining if a window (given either it's hWnd or WHandle) is a VFP code editor window? I've been using _EdGetEnv (and checking for a return value of 0) but it seems to fail under various circumstances (that is, _EdGetEnv seems to throw an exception). I thought about using the Win32 GetClassName() call but I don't see anything that differentiates something like the Property window from the editor Window (it seems some windows DO return a slightly different result, though).

Any ideas?
-Paul

RCS Solutions, Inc.
Blog
Twitter
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform