Change startup window dimensions

When you first launch your .EXE, there’s a brief moment when you can use your mouse to resize the window. Once you’ve set the width/height of that window, your program will then be inside that size of a window until/unless you change it again.

What I want to do is to set the width & height of this window through code, rather than having to do it manually. Sure, I can adjust the size using the mouse – but there SHOULD be a way to do this with code.

Anyone have any ideas?

Try these answers: