[SDL] SDL and WM_GETMINMAXINFO
mortenholmgaardmh at hotmail.com
Mon Dec 13 04:34:59 PST 2010
I am trying to set window min and max info, but WM_GETMINMAXINFO message is never received by the SDL event handling.
WM_GETMINMAXINFO // http://msdn.microsoft.com/en-us/library/ms632626(v=vs.85).aspx
I have tried it both in the usual eventhandler:
while( SDL_PollEvent( &event ))
if( event.type == SDL_SYSWMEVENT)
MINMAXINFO *minMaxInfoPtr = reinterpret_cast<MINMAXINFO*>(event.syswm.msg->lParam);
And the eventFilter:
(The WM_GETMINMAXINFO isnt there but in the eventFilter like the usual eventhandler)
I have read somewhere that WM_GETMINMAXINFO message is only send to the Main Window procedure, but this message dont seems to be forwarded to any of these event handlers. And it should be the first message to be received.
Any one got a clue about how to get the WM_GETMINMAXINFO message in SDL?
PS. I have:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL