Path: 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 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]