Change default window size of application

Is it possible to change the default window size of an application after it has been built? I am trying to implement a resolution selection option but it not clear how I would go about doing that.

Thanks!

I also looked into this a while back, not sure if this is possible?

I also looked into this a while back, not sure if this is possible?