View Full Version : Change resolution and Multi-monitor setup
Ron
October 13th, 2002, 03:55 PM
If I know how this works in the Win32 API I could add it.
Ron
October 13th, 2002, 03:55 PM
ChangeDisplaySettings
Ron
October 13th, 2002, 03:55 PM
Maybe I'll put this in the release after 3.2.5. I recall some problems with crappy video drivers.
mitko
October 13th, 2002, 03:55 PM
Ron, is it possible to add another paramter which is the monitor to which to apply the change resolution command?
It could have a default value for primary monitor so not to break the scripts of other people.
And also if possible to add support for variables too
mitko
October 13th, 2002, 03:55 PM
Which API function do you use to change the Display resolution?
mitko
October 13th, 2002, 03:55 PM
Ron, if you use EnumDisplayDevices with the iDevNum param set to a different value then 0 to get the name of the display device and then ChangeDisplaySettingsEx it will be possible to change the resolution and other settings of a given monitor
Bartman
September 13th, 2003, 08:03 AM
Anything new concerning this issue?
Francois
September 13th, 2003, 09:19 AM
To build on the previous posts, here are a few features I dearly miss:
-get resolution, with the ability to indicate for which head
-ability to enable or disable one head (and to know if it's enabled or not)
-ability to change the primary head
In an ideal world, the head numbers would be based on physical location, rather than logical (i.e., Head 1 on my ATI 9600 can change from DVI to VGA when I reboot my computer, and there is no way to make sure that H1 is, say, connected to the DVI port).
Thanks
(In the meantime, I've been using some command line utilities such as switchmon, setres, etc. but these do not allow to read resolutions in Girder)
Promixis
September 17th, 2003, 08:51 PM
This may be possible using windows management and instrumentation (WMI) - see MSDN.
WMI is available by using luacom extensions.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.