Change native resolution when going into fullscreen mode

Hello,

Ive been looking into solutions for this but I haven’t found anything concrete yet, my game project has a bordered HUD and it’s very important that the same amount of game space is visible on various different resolutions. Because of this, I had to lock the orthographic camera to a specific aspect ratio, which causes no problems when the game is windowed. Anything else results in heavy letter-boxing and poor presentation.

I’m under the impression that old games with lower resolutions change the native resolution of the computer when going into full screen. I think I found a way of doing that using C++ functions, but I can’t seem to find any way of knowing when the player goes into full screen.

The only way to get this to work without letter-boxing is to have an event get called when the game goes into full screen. Temporarily changing the resolution and bringing it back when the game is no longer in full screen. Is there any way I could set something like that up?