Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Handle to window
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00383595
Message ID:
00383673
Vues:
25
>Does anyone know of a better way to get a handle to a form other than using the FindWindow API? I am using VFP6.0 SP3
>
Costas,

If you mean a VFP form running on the desktop, FindWindow() won't get it since it since it doesn't search child windows. You'd have to use several API calls, and they can be tricky to deal with. Easier is to load Foxtools and use: lnhwnd = _WhTohWnd(_WFindTitl(Form.caption)). Is this what you're looking for?
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform