|
-
Apr 24th, 2010, 07:18 AM
#1
Thread Starter
Junior Member
[RESOLVED] How to activate click event in child process from parent process?
I am spawning an EXE from my VB (hidden and I am recovering the dos window output) but the EXE generates a process window requiring the user to click the OK button. Since this window is also hidden the user will never see it, thereby hanging up the child process. I have been able to determine the handles and processor ids down to the button. What I need is what API function will allow me to execute the click event (for the OK button) in the child process.
-
Apr 24th, 2010, 07:51 AM
#2
Re: How to activate click event in child process from parent process?
I think you can use the SendMessage API function to send a click to the button
http://msdn.microsoft.com/en-us/libr...8VS.85%29.aspx
-
Apr 24th, 2010, 08:36 AM
#3
Thread Starter
Junior Member
Re: How to activate click event in child process from parent process?
Thanks, your response allowed me to further scan the forum and I found http://www.vbforums.com/showthread.php?t=345259 which looks like it will provide the function I was looking for.
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
|