Prevent or disable fullscreen for standalone

Hello everyone,

I’m currently working on a project that has in it’s software requirements that it cannot have a fullscreen mode. Although there’s nothing in the application to give this option to the final user, the shortcup ALT+ENTER still works.

I know it’s possible to detect when the application is in fullscreen and then deactivate fullscreen by code. But what I was hoping for was a way to disable the shortcut or simply prevent changing to fullscreen, avoiding all the changes in resolution and pain coding.

Anyone has a tip or some reading recommendation in this matter???

Thanks for your time

As far as I could get in this topic, all that was needed was to catch a specific window event.

Things went downhill when we finally managed to change the events handler function for the application’s main window.

More in the link bellow: