Ok, I have code that properly resizes a window from 320 x 240 to 640 to 480, etc. but this only works properly if you disable the window frame/toolbar in the app properties. Otherwise, you'll have some graphical distortion error because it apparently doesn't calculate the frame width properly if you have the window frame enabled. It will be off by a pixel or two.
Is there a way to properly to resize the window AND still have a window frame without any graphical errors? I like being able to switch resolutions at runtime for the window, but I don't like the fact that I can't do it with a window frame enabled if I want the graphics to remain pixel perfect.