Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the easiest way to get Window handle value?
Message
De
29/09/1997 00:20:19
 
 
À
29/09/1997 00:08:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00051377
Message ID:
00052106
Vues:
58
In VFP controls are only painted on forms. So, you can't get a handle to button's window (because there is no such window). The lowest level that still has a window is the Form.

Vlad

>Hi George!
>
>Just one thought: may be when you try to get a handle to child window, you
>got the handle to control on the form (like button)...
>It's because I tried the same but from CmdButton Click() event.
>
>>That was my thought as well, so I moved the assignment statement to the
>>.GotFocus event of the command button. Didn't make a difference. I would
>>think that not only would the window being on top, but active as well,
>>before this event would fire. Any ideas you have in this area would
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform