rsmall
Jun 5th, 2001, 11:25 AM
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.
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.