Author Topic: The function returns the supported modes of the monitor  (Read 1710 times)

Offline Neo-Bagamut

  • Mc. Print
  • *
  • Posts: 13
    • View Profile
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.

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1792
    • View Profile
    • Homepage
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.

Offline Neo-Bagamut

  • Mc. Print
  • *
  • Posts: 13
    • View Profile
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.

Offline Stu_C

  • Mc. Print
  • *
  • Posts: 34
    • View Profile
    • OvineByDesign

What else do you require ?

MrTAToad

  • Guest
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...