🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #3437

PostMessage vs. SendMessage

#3437
From: F0O
Date: Thu, 27 Jun 1991 13:07
11 lines
907 bytes
   I'm very new to windows programming, and was wondering for what sorts
or reasons would you want to use one over the other?
   PostMessage will put it's message in the queue and return immediately,
where SendMessage doesn't put it's message in the queue but waits until
the message is processed before returning.
   It looks to me like PostMessage would be better to use, since you
wouldn't have to wait for the message to be processed; unless you don't
want to fill the queue up with an additional message.

                                                              [Tim]
Technical Details
Message-ID: <91178.090744F0O@psuvm.psu.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!psuvm!f0o

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!psuvax1!psuvm!f0o
From: F0O@psuvm.psu.edu
Newsgroups: comp.windows.ms.programmer
Subject: PostMessage vs. SendMessage
Message-ID: <91178.090744F0O@psuvm.psu.edu>
Date: 27 Jun 91 13:07:44 GMT
Organization: Penn State University
Lines: 11