Finding the resolution of the desktop

BlitzMax Forums/BlitzMax Programming/Finding the resolution of the desktop

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Okay, Here is a little module hamZta and I once wrote to solve this problem. It only fits the resolution-part of your question, but that is the half way... :D

This one is limited to MacOS and Win32 since nobody could help me with the Linux code. I thought of waiting until the Linux part is done, but now i will provide it to help you out.

There are only two little functions in the module. DesktopWidth() and DesktopHeight(). Both return an Integer.

have fun with it ;)