Boost logo

Boost Users :

From: Jeff Flinn (jflinn_at_[hidden])
Date: 2002-02-24 16:55:05

----- Original Message -----
From: Steve Burnap <steve_at_[hidden]>

> 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.)


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at