Writing from an editor Gadget
Posted: Wed Jul 29, 2009 3:27 pm
Hi,
I'm still pretty much a beginner. I'm putting together a small app to read and write to a serial port. I can read from a string gadget and send that to the serial port ok, and I can write incoming text to the editor gadget.
However, if I want to write character by character as I type from the editor gadget to the serial port it does not seem at all straightforward.
This is for windows so should be I be looking at the API for keyboard or the editor controls?
If someone could just point me in the right direction as looking through the forum there seems to be a number of possibilities but I'm not sure which way to go.
Thanks
I'm still pretty much a beginner. I'm putting together a small app to read and write to a serial port. I can read from a string gadget and send that to the serial port ok, and I can write incoming text to the editor gadget.
However, if I want to write character by character as I type from the editor gadget to the serial port it does not seem at all straightforward.
This is for windows so should be I be looking at the API for keyboard or the editor controls?
If someone could just point me in the right direction as looking through the forum there seems to be a number of possibilities but I'm not sure which way to go.
Thanks