Mensaje
General information
Foro:
Visual FoxPro
Category:
Funciones del API WIN32
Título:
Determining if a window is a VFP editor window
Miscellaneous
ID de la conversación:
01451683
ID del mensaje:
01451683
Views:
125
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
Next
Responder
Mapa
Ver