home *** CD-ROM | disk | FTP | other *** search
- Path: 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
-
- 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
-