Jeff Duncan
2002-08-02 17:19:03 UTC
Hullo all,
This callback is documented saying that if you return 1, it is added to the
internal queue, and if you return 0 it is dropped.
I'd like to know if SDL reports the message as 'handled' to the window
manager in both situations, or if returning '0' will allow some other
application to attempt to handle the message. In particular, I'm looking to
handle certain wParam's for WM_SYSCOMMAND under Win32 (i.e., SC_SCREENSAVE),
while leaving others intact for system processing (i.e., SC_TASKLIST).
Thanks - I'll be sure to clarify the docs (via a note) if someone can answer
this for me.
-- Jeff
This callback is documented saying that if you return 1, it is added to the
internal queue, and if you return 0 it is dropped.
I'd like to know if SDL reports the message as 'handled' to the window
manager in both situations, or if returning '0' will allow some other
application to attempt to handle the message. In particular, I'm looking to
handle certain wParam's for WM_SYSCOMMAND under Win32 (i.e., SC_SCREENSAVE),
while leaving others intact for system processing (i.e., SC_TASKLIST).
Thanks - I'll be sure to clarify the docs (via a note) if someone can answer
this for me.
-- Jeff