Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the easiest way to get Window handle value?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00051377
Message ID:
00052148
Views:
69
>Hi George!
>
>Probably it mean that you can't rely on these handles without an
>explanation from someone at M$... Did you tried to have two instance of one
>form and see the handles? I've strange results (both of these windows have
>the same handle)
>BTW, who knows anything about the inner structure and workings of Windows?
>Right, no one, but the God ;)
>
>>yet another. I guess the only way to reliably get a value for a form is
>to
>>use the FoxHWnd control.
>>
>>In thinking about this, it makes sense. It was also rather humbling, it
>>that it makes me realize that I don't know as much about the inner
>workings
>>of Windows as I though I did.

Two instances returned different values for the forms and the FoxHWnd controls. I was incorrect previously, however, in saying the command button had a handle. It doesn't. I think I got confused seeing so many different values.

What would be nice is having both the handle and device context as properties, like Visual BASIC. Wait a second. What did I just say??? I must be losing it (if I ever had it to begin with). Forgive me all ;-).

George
George

Ubi caritas et amor, deus ibi est
Previous
Reply
Map
View

Click here to load this message in the networking platform