Updating dialogue
-
Hi there, I'm writing a serial port class that has its own thread to read data out of the port in the background. That bit all seems to work fine, but I want to get the data from the buffer that I'm storing it in and update a read only text box in a dialogue in my app. Where is the best place to do this should I do something like that in the
OnIdle
function and just use a pointer to the dialogue to update the variable or is there a better way. Cheers Andy -
Hi there, I'm writing a serial port class that has its own thread to read data out of the port in the background. That bit all seems to work fine, but I want to get the data from the buffer that I'm storing it in and update a read only text box in a dialogue in my app. Where is the best place to do this should I do something like that in the
OnIdle
function and just use a pointer to the dialogue to update the variable or is there a better way. Cheers Andy