pvriens@xs4all.nl writes:
When however a GetMessage or PeekMessage is done with a hwnd=0 (NULL) it all depends in which thread the Get or PeekMessage is done, if one (or more) message is retrieved. In my case all Get or PeekMessages done in all other threads but the main one (0x0009) end up with nothing (always PENDING status)
That's the way it's supposed to work; message queues are per-thread, and a thread will never retrieve messages sent to another thread. Looks like there's some other problem here that causes the main thread to not run its message loop.