How can I change the screen size?
Printable View
How can I change the screen size?
I assume you mean programmatically, rather than the obvious "click and drag" the arrow?
If so, which API would you like?
Win32, DirectX, ....
If win32 (like many of your other threads) than you may look into:
EnumDisplaySettings
ChangeDisplaySettings
I can not figure out how to use ChangeDisplaySettings().
You have to define a DEVMODE structure, not really define it but set the values of it's members. Then you will have a handle on it and pass that as the first argument. Then just pass any flags you want. DEVMODE structure
http://www.mentalis.org/apilist/Chan...ettings.shtml#
Visual Basic example of changing resolution with the API. Just for concept at least.