Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is the easiest way to get Window handle value?
Message
From
29/09/1997 00:20:19
 
 
To
29/09/1997 00:08:41
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00051377
Message ID:
00052106
Views:
52
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform