Results 1 to 4 of 4

Thread: FindWindowEx to get MDI Child handle?

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member brenaaro's Avatar
    Join Date
    Sep 2001
    Location
    Montreal, Canada
    Posts
    391

    Question FindWindowEx to get MDI Child handle?

    Can anyone explain to me how to use the FindWindowEx function to get the handle of a mdi child?

    I used
    Code:
    WinWnd = FindWindow(vbNullString, "My App Title")
    to get the handle of the parent window. But when I try

    Code:
        bWnd = FindWindowEx(WinWnd, ByVal 0&, vbNullString, "My Child Title")
    bWnd is always 0...

    "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.
    Last edited by brenaaro; Apr 2nd, 2002 at 04:04 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width