General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only