Start Fullscreen with title/quick launch bars still visible

When starting in Windowed mode you have access to the windows controls/title bar, clicking the Maximize button will Maximize the window while keeping the title bar at the top of the window and remain above the Quick Launch bar, this is exactly what I want. My problem is I can only seem to achieve this by physically clicking on the maximize button when in Windowed mode. Is there a way to achieve the same result with code/settings?.

So I’ve tried using this code:

[DllImport("user32.dll")]
    private static extern bool ShowWindow(IntPtr hwnd, int nCmdShow);
[DllImport("user32.dll")]
    private static extern IntPtr GetActiveWindow();

void Start()
{
    ShowWindow(GetActiveWindow(), 2)
}

But again the Title Bar is removed.
I want it to act just like I clicked the ‘Maximize’ button on the Title Bar, which does exactly what I want it to, but how can this be reproduced in code?

Not really what I was going for but I found a simple workaround to my problem. I created a shortcut for my .exe, right-clicked the shortcut, went to Properties, then set the Run property to Maximized. This does produce the exact result I’m going for, but I was really hoping to find a more elegant solution.