Hallo. I have launched an application in a shell & I can send it keystrokes (although the Sleep() function seems to mess about with that - do it on a timer, I guess).
All I need to do now is to be able to set the application's window to active before I send keys.
Is there a special command I need for this? Or just another way of using ShellExecute (I can't see anywhere in there to pass the shelled exe's handle in)?
Any & all help...
Cheers,
Douglas JL
If it don't make you laugh, it ain't true.
All I need to do now is to be able to set the application's window to active before I send keys.
Is there a special command I need for this? Or just another way of using ShellExecute (I can't see anywhere in there to pass the shelled exe's handle in)?
Any & all help...
Cheers,
Douglas JL
If it don't make you laugh, it ain't true.