I am looking for a way to maximize the game window on launch that doesn’t put you in full screen mode (preserves the window title bar).
This seems like a basic functionality but I cannot figure out how to do it either in BP or C++.
I have found some functions included with “GenericWindow.h” but I cannot figure out how to call them properly.
I’m using UE 4.27
Many thanks for any help you can provide.
Mind-Brain
(Mind-Brain)
December 8, 2022, 3:00am
2
Hey @luke_micro_01 !
I think that’s exactly what they were talking about in this thread here!
After looking on AnswerHub I found 4 possible ways to set the desired resolution and windowed mode (windowed or fullscreen) for your packaged game:
1)
Create a file DefaultGameUserSettings.ini and put it in your project’s Config directory. Now when you package your game, it will run at the correct resolution (and windowed/fullscreen mode) based on the settings in the .ini file.
(The .ini file seems to be inaccessible after you package the game so the player can’t edit it and tweak the setting…
Check it out and see if any of those solutions work for you!
I’m still stuck, I would like for the window to take up the full screen but keep the
[Minimize] [Restore Down] [Close] buttons that show up in the top right corner of the screen.