A quick routine to get your current screen size (resolution) using 1 API and a Shell call to change the size if you wish. Note I put in if you wish. I have done a number of routines that change the screen resolution programatically, but different systems impliment it with different effects, so until I can fig out a sure fire way it maybe better if you leave the option of changing it to the user - with a note saying
"Best viewed in 1024 X 788 screen resolution"