[comp.os.os2] PM question

jerry@polygen.uucp (Jerry Shekhel) (01/09/90)

Hello all.  I've a question about Presentation Manager.

I'm converting an X-Windows application to the Presentation Manager.
This program is an action game, so it doesn't TOTALLY stick to
the event-driven model -- it doesn't have just one event loop.  As
you may know, all X-Window events are queued, and there is no window
procedure as there is in PM.  I need a simple mechanism similar to
X-Windows XNextEvent().  I realize that there is WinGetMsg(), but it
seems that some messages, like WM_CREATE are not queued.  Instead, they
are sent to the window procedure, bypassing the queue.  It also seems
like WM_PAINT is SOMETIMES queued and sometimes not!  Can someone clear
this up for me?  Is there are list of message types that are never queued?
How about messages that are queued some times but not others?
---
+--------------------+-----------------------+-------------------------------+
|                    |  Polygen Corporation  |           UUCP:               |
|  Jerry J. Shekhel  |   Waltham, MA 02254   |  {princeton, mit-eddie,       |
|                    |    (617) 890-2888     |  bu, sunne}!polygen!jerry     |
+--------------------+-----------------------+-------------------------------+