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
Detecting if full screen inside wndproc
codetemplar


Joined: 23 May 2016
Posts: 1
Hi all,

I am using a 3rd party game engine which sits on top of SDL2. It has abstracted SDL away and I don't have the source code for the engine. It is designed to run on an embedded system. I need to handle the Windows Message NCACTIVATE. As the 3rd party engine uses SDLs internal window creation with the internal wndproc callback the only way I can handle this is by recompiling the SDL.dll file and adding my handler in there. This all works fine except id like to slightly change the behaviour if the current hwnd associated with the wndproc is not running in full screen mode. Can I determine inside SDL2s wndproc if the hwnd is running full screen?

Thanks for any help.