Results 1 to 3 of 3

Thread: [RESOLVED] How to activate click event in child process from parent process?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Apr 2010
    Location
    CT
    Posts
    16

    Resolved [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.

  2. #2
    Next Of Kin baja_yu's Avatar
    Join Date
    Aug 2002
    Location
    /dev/root
    Posts
    5,989

    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

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Apr 2010
    Location
    CT
    Posts
    16

    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
  •  



Click Here to Expand Forum to Full Width