Try using SendNotifyMessage() to send messages to another thread.
null@diku.dk, Neils Ull Jacobsen via programmer.misc, 6/18/95