General information
Category:
Windows API functions
Title:
Getting hWnd of a MDI child form
I've got a problem getting the window handle of MDI child forms on my
application. I was doing this:
With FindWindow() I was getting the main form's handle and then, with
FindWindowEx() I was getting the child form's one. But, while using
toolBar controls (the ones from VFP, not the OCX) it does not work.
Browsing the windows tree with the Spy++ I realiced that, when using
toolbars, the windows tree changes it's structure and VFP does not
handles it properly: if I have a commandButton on my main MDI form
and a tool bar docked un the upper side of the form, I'm not able to
click the button. But that's not a problem by now... what I want is a
non-failing way to retrieve a child form's window handle.
Thanx
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