Hi, gurus:

Does anyone know how to change the screen size layout programmatically?

This is the case:
I am changing the screen resolution programmatically for specific action from 800x600 to 1280x1024. Because the ratios are different for these resolutions the screen layouts are different. In the second case the screen layout compressed from the sides. I need to expand the layout from the sides for the size of monitor.
Any suggestions?

Thanks in advance