The function returns the supported modes of the monitor

Previous topic - Next topic

Neo-Bagamut

Hello everyone!

Need help with a function that returns the supported modes of the monitor.

First I want to ask whether there are comands in GLBasic allow to realize it?

Revised set of compilers (both paid [Blitz3D, PureBasic, DarkBasic] and free [thinBasic]) and was surprised that everywhere, except GLBasic, these commands are present.

There will be whether such comands in future versions GLBasic? If yes, when?
AMD Phenom X3 8750 BE (2.4 Ghz); DDR2 1066 Mhz PC8500 (2048 Mb); MSI GeForce NX8800GT GDDR3 512 Mb | 256 bit; Windows XP SP3 x86.

Moru

Hello!

Look at this one:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965

I haven't tried it but I heard others had good luck with it.

Neo-Bagamut

Quote from: Moru on 2010-Jan-19
Hello!

Look at this one:
http://www.glbasic.com/forum/index.php?topic=961.msg4965#msg4965

I haven't tried it but I heard others had good luck with it.

Thanks for this, but in my project it isn't useful.
AMD Phenom X3 8750 BE (2.4 Ghz); DDR2 1066 Mhz PC8500 (2048 Mb); MSI GeForce NX8800GT GDDR3 512 Mb | 256 bit; Windows XP SP3 x86.

Stu_C

/Stu
www.ovine.net

MrTAToad

For Windows (or Windows CE), you would use the aforementioned code.  Unfortunately for all other platforms, its nearly impossible - for Linux, you would need to call XWindow stuff, but unfortunately you cant get the base screen ID.

For the Mac, I haven't seen any code that will do it...

Unfortunately SDL wont get a list of screen resolutions either...