Discover native screen resolution
Archives Forums/MacOS X Discussion/Discover native screen resolution
| ||
How do I Discover the native screen resolution on a Mac ? Windows ppl can use Extern "Win32" Function GetSystemMetrics:Int(Axis:Int) End Extern Global SX:Int=GetSystemMetrics(0) Global SY:Int=GetSystemMetrics(1) Graphics SX,SY,32,60,2 What can I use on a Mac ? Thanks in advance. |
| ||
There's built-in commands to obtain the desktop resolution: [code] Print DesktopWidth() Print DesktopHeight() Print DesktopDepth() Print DesktopHertz() [code] |