At 04:55 PM 2/24/02 -0500, you wrote:
----- Original Message ----- From: Steve Burnap
... thread. In order to make it obvious that things are happening, the scan thread uses SetDlgItemText to update display the current file being scanned on the dialog. This all works quite well.
...
Which does a SendMessage which as you've found does not work quite well. I assume you are using a worker thread which should communicate with a UI thread via PostMessage, never SendMessage. Another method would be to have a time in the dialog that polls a memory location (properly guarded for read/write access.)
Jeff
Using PostMessage would be nontrivial because the strings that I'd have to pass are currently locals. The second option sounds like it should work, though. Thanks! Steve