How do I make my winbatch wizard run as a child to another application

Started by SewWrite, April 17, 2020, 10:06:09 AM

Previous topic - Next topic

SewWrite

I have written a multiple dialog winbatch application that is launched from another windows (C++) application. The programmer of the C++ program has requested that I make my wizard a child to the main program. Does anyone know how to accomplish this? I have a total of 4 dialogs and a status box that runs during processing.

He suggested I look into user32.dll but nothing in there jumps out to me.

Thanks for you help! 

ChuckC

The fact that another process is launching your script means that the other process is the parent process of your script, and your script is running as a child process.

However, what I think they are asking you for is for you to make your script function as if the dialogs that it is displaying were child windows "owned" by the UI in the parent process.  If that description is accurate, then what is being asked for isn't possible across process boundaries.