Could someone please tell me how to change the resolution of the monitor when my program starts up then set it back to the resolution it was before the user accessed the program.
Thanks for any help you can provide.
Printable View
Could someone please tell me how to change the resolution of the monitor when my program starts up then set it back to the resolution it was before the user accessed the program.
Thanks for any help you can provide.
Hi,
If u are using Windows o/s u can use Api calls to do this,
The api calls are
EnumDisplaySettings(...)
ChangeDisplaySettings(...)
Search for these two apis in MSDN and u will get samples to change the display settings, Dots inside the brackets are to be treated as parameters to be passed.
bye