Maximize Window on Game Launch

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.

Hey @luke_micro_01!

I think that’s exactly what they were talking about in this thread here!

Check it out and see if any of those solutions work for you! :slight_smile:

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.

Here, tested and working in UE5.5.4:

#include "Framework/Application/SlateApplication.h"
  FSlateApplication& SlateApplication = FSlateApplication::Get();
  TSharedPtr<FGenericWindow> Window = SlateApplication.GetActiveTopLevelWindow()->GetNativeWindow();
  Window.Get()->Maximize();