How can I change the screen size?
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 you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
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
Trinity: "Neo... nobody has ever done this before."
Neo: "That's why it's going to work."
c9915ec6c1f3b876ddf38514adbb94f0
http://www.mentalis.org/apilist/Chan...ettings.shtml#
Visual Basic example of changing resolution with the API. Just for concept at least.