Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the easiest way to get Window handle value?
Message
From
03/10/1997 00:27:59
 
 
To
01/10/1997 05:06:26
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00051377
Message ID:
00052985
Views:
56
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform