I want to write a string through an application to an edit box control in a dialog box of another open application? How can I achieve this? With a hook? Didn't see a similar example?
How can there be similar examples?
There is no need for hooks.
FindWindowEx, FindChildWindow, SendMessage ()
Those using hooks can refer to those programs that automatically log in or obtain passwords.
setwindowText will not work, because it is not the same process.
If you don't use hooks, you can only use the way of sending messages to simulate keyboard messages.