PDA

View Full Version : QProcess magic



baray98
15th August 2008, 01:55
Hi All,

I am trying to run two notepads using QProcess and I want to that everytime i type something on either notepad it will be reflected to the other. Is there such a magic in QProcess for that?

baray98

wysota
15th August 2008, 07:18
No, QProcess won't help you here as notepad doesn't write the text to its stdout. You could instead install a hook on both windows using WinAPI and intercept their events and pass them to the other notepad.