Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hwnd control
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00436707
Message ID:
00436729
Vues:
17
>I didn't knew you could use this hwnd (findwindow).
>Because a couple off months a made a card-game with a dll named qcard32.dll, and the only way I could draw a card was with the hwnd-control.
>Is this the qcard-writers fault or mine.
>I will try this with the most used api-calls Findwindow(),...
>BTW qcard32 has been made for VB-users ??
>Thanks for your very fast reply.
>You have been a very good help for me in the past.

Actually, FindWindow() does work here unless the form is top-level. The function doesn't search child windows. What you have to do is iterate through the various windows starting with the parent using GetWindow(). This is a problem because of the number of windows involved branching off the main VFP window. The easiest way is to use Foxtools. The sample I provided in my previous post, should work just fine once the library is loaded.

As to QCard32.dll, I've no experience with it.
George

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

Click here to load this message in the networking platform