How can i input text programmatically to QLineEdit to first application which use Qt 4.2 from second Win32Api application which don't use Qt ?
SetWindowText and IAccessible:: put_accValue don't work...
OS: Windows XP / Vista - 32 / 64
How can i input text programmatically to QLineEdit to first application which use Qt 4.2 from second Win32Api application which don't use Qt ?
SetWindowText and IAccessible:: put_accValue don't work...
OS: Windows XP / Vista - 32 / 64
You can send a message using PostMessage and then catch that message in the other application. You'll have to ask the message queue to give you access to win events though.
But if i can't modify source code of first application?
I think you should be able to forge and post key events to the application and the default message handler should take care of the rest. But what should you put in that message is beyond the scope of this forum and you should consult WinAPI docs.
Bookmarks