Boost logo

Boost Users :

From: Steve Burnap (steve_at_[hidden])
Date: 2002-02-24 18:26:04


At 04:55 PM 2/24/02 -0500, you wrote:

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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net