The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
SDL_WINDOW_MAXIMIZE bug?
Ewan Meadows
Guest

Hi all,

I've run into a strange problem when developing a Windows application,
it appears that a window created with the SDL_WINDOW_MAXIMIZE bug
doesn't honour window restore events properly.

My setup is Win7 + SDL2 + Codeblocks, using the following code as a
minimal test case, it successfully creates a window called 'Test', but
when I minimise that window and try to restore it again, nothing
happens?

http://pastebin.com/BgKAHYNe

If I create the window without using the SDL_WINDOW_MAXIMIZE flag,
then I can minimise and restore it with a problem.

Any ideas what is going on here?

Thanks
_______________________________________________
SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org