Can anyone explain to me how to use the FindWindowEx function to get the handle of a mdi child?
I used
to get the handle of the parent window. But when I tryCode:WinWnd = FindWindow(vbNullString, "My App Title")
bWnd is always 0...Code:bWnd = FindWindowEx(WinWnd, ByVal 0&, vbNullString, "My Child Title")
"MyChildTitle 1" is the only child form under the parent. I've tried with two children but it still wont pick up any of them...any ideas?
Thanks.




Reply With Quote