Subj : Win32 PostMessage Question To : comp.programming.threads From : Cool Guy Date : Wed Jul 06 2005 06:29 pm From a *worker thread*, I'm posting messages to the *GUI thread* of my application (via PostMessage). If I send two such messages in a row (both from the same worker thread), is the first one *guaranteed* to be in front of the second one in the message queue that receives these messages? e.g.: (in worker thread) { PostMessage(...); // post *first* message to GUI thread PostMessage(...); // post *second* message to GUI thread } Is the first message here guaranteed to appear ahead of the second message in the receiving message queue? I assume so but I'm asking just to make sure. .