Information générale
Catégorie:
Fonctions Windows API
I run your test.prg. But I don't understand what you don't understand. Probably I'm missing something. I couldn't find the 2 equal handles.
The parent form returns the handle for the its own window. Beeing defined as top level form, it has in fact 2 windows: the form and its client area. The handle is for the form.
The child returns a handle to the window that is the client area of the parent form. Probably you would expect to return a handle to the child form's window (btw, beeing defined as child in top form, it has only one window. Don't ask me why!).
I don't know what's inside your sysinfo class, so, I can't tell you if this is correct or not.
Did I answered your questions?
Vlad
>Hi Paul!
>
>I'm uploading the newest version of Sysinfo class with examples. Just run
>test.prg and see what I mean... I would like to appreciate if someone can
>explain the results...
>
>>What do you mean?
>>>I've checked this case and was wondering when these windows have the
>same
>>>handle value.
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