Article View: comp.os.os2.programmer
Article #1063Re: Threads & PM
From: Pat Gleason
Date: Tue, 18 Aug 1992 00:31
Date: Tue, 18 Aug 1992 00:31
17 lines
1109 bytes
1109 bytes
In <1992Aug17.094307.24775@wsl.ie> jja@wsl.ie (John J. Allen) writes: >I'm having a problem with a PM app that I can't figure out. >I'm using a thread to collect Disk Usage Info and appending it to a >listbox in the dialog box but all the calls fail. If I call the >function normally it all works fine. >So the question is how can you update a dialog box from a thread. Unless the thread has a message queue (which you did not state), the thread must use WinPostMsg() and NOT WinSendMsg(). I hope this helps. -- ============================================================================ Pat Gleason | "Cubs fans are 90 percent scar tissue" pgleason@ncratl.atlantaga.ncr.com | George Will
Technical Details
Message-ID:
<8301@ncratl.AtlantaGA.NCR.COM>Path:
arc1-ca.pugleaf.net!sparky!uunet!psinntp!ncrlnk!ncratl!pgleasonReferences:
<1992Aug17.094307.24775@wsl.ie>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!psinntp!ncrlnk!ncratl!pgleason From: pgleason@ncratl.AtlantaGA.NCR.COM (Pat Gleason) Newsgroups: comp.os.os2.programmer Subject: Re: Threads & PM Message-ID: <8301@ncratl.AtlantaGA.NCR.COM> Date: 18 Aug 92 00:31:45 GMT References: <1992Aug17.094307.24775@wsl.ie> Organization: NCR Engineering and Manufacturing Atlanta -- Atlanta, GA Lines: 17