Theres a screenresolution change example in the Samples\Graphic\Basic directory. Perhaps that might be of some help to you.