[comp.windows.ms] PostMessage -- ok in Windows V 2.x ?

kyler@pyr.gatech.EDU (J. Kyle Rogers) (02/24/89)

I know there are problems with messages being lost when using PostMessage
in Windows 1.x, but not when using SendMessage.  (I am told it is fairly easy
to write an app to demostrate the message loss.)

My question: is PostMessage fully functional in Windows 2.x now as well as
SendMessage?

---thanks in advance
---krogers

bturner@hpcvlx.HP.COM (Bill Turner) (02/26/89)

> My question: is PostMessage fully functional in Windows 2.x now as well as
> SendMessage?

The problem is that PostMessage will drop messages if the destination message
queue is full; it does let you know when it drops them, though.  Since 
SendMessage doesn't put a message in the queue (it directly invokes the window 
proc), it doesn't have this problem.

--Bill Turner