|
-
Jun 5th, 2001, 11:25 AM
#1
Thread Starter
Junior Member
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.
-
Jun 5th, 2001, 01:27 PM
#2
Is the application you are tryin to set the focus of the child window written by you???
-
Jun 5th, 2001, 01:35 PM
#3
-
Jun 5th, 2001, 03:16 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|