Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is the easiest way to get Window handle value?
Message
De
03/10/1997 00:27:59
 
 
À
01/10/1997 05:06:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00051377
Message ID:
00052985
Vues:
61
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
Fil
Voir

Click here to load this message in the networking platform