G'day all,
I've got an app where I'm doing some time critical serial processing. I have 2 callbacks in the serial code that call back to methods in the form to update a status bar and caption label.
I used to update the label/status bar and call Application.ProcessMessages so they would paint, but I discovered the indeterminacy in the other GUI events queued would cause my serial latency to randomly blow out badly. I've worked around this by doing..
StatusBar1.Repaint;
Label1.Repaint;
rather than Application.ProcessMessages;On Win32 and GTK2/Linux this works perfectly, but on Carbon it won't repaint anything until the application can service its message queue.
Is this expected behaviour or an inherent in the toolkit?
I don't really want to have to go to a multi-threaded model if I can avoid it, but this one has me stumped.
Regards,
Brad
