Results 1 to 4 of 4

Thread: activate child window

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2001
    Location
    canada
    Posts
    22

    activate child window

    Could someone please help me with setting a child window active?

    In my vb program code I use the "AppActivate" method to make another application visible. However, this only sets the parent window as active and not the child window that is visible. I've been trying various api functions but can't seem to get it to work.

    If I haven't made myself clear, check out this image and you can see what I mean.

    http://www.bbcyoungpeoples.homestead.com

    Thanks,

    Ryan

    P.S. Due to the nature of my program I cannot use a sendkeys statement to start the command which would put focus to the dialog, I have to interact with the dialog after the command has started.

  2. #2
    amac
    Guest
    Is the application you are tryin to set the focus of the child window written by you???

  3. #3
    Matthew Gates
    Guest
    Try the ZOrder method.

  4. #4
    Megatron
    Guest
    Use the SetForegroundWindow function.

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