Information générale
Catégorie:
Fonctions Windows API
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement