Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting hWnd of a MDI child form
Message
From
08/02/2000 14:27:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Getting hWnd of a MDI child form
Miscellaneous
Thread ID:
00329049
Message ID:
00329049
Views:
74
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
Map
View

Click here to load this message in the networking platform