How can i change the screen resolution on the fly? i need to test to see what the current resolution is, change it, and on exit i need to change it back to what it was originally.