WM_SIZING message in Windows

I have a problem… when resizing a Windows
application (i.e. click left mouse button on window
frame, move mouse to change window size, release mouse
button) the application receives a stream of WM_SIZING
events which give the application the opportunity to
restrict/control the new window size.

In an SDL application, it seems these messages are
queued up, so its only AFTER the mouse button has been
released that the messages are received by my
application - by which time its too late to do
anything with them.

Has anyone else experienced this problem? Is it
something I’m doing wrong, or a feature of SDL?

thanks in advance,

Yahoo! Answers - Got a question? Someone out there knows the answer. Try it