HELP: Application events (WM_SPOOLERSTATUS, WM_QUERYENDSESSION, WM_QUERYOPEN)

Please help me someone.

How do you respond to the application events:
  WM_SPOOLERSTATUS
  WM_QUERYENDSESSION
  WM_QUERYOPEN

I tried setting up an Application.OnMessage event that scans for these events,
however it doesn't receive these messages.  It does receive some messages, but not
these.

How do I handle these events?

------------
   -Paul-
     --