Get Desktop Size
BlitzMax Forums/BlitzMax Programming/Get Desktop Size| 
 | ||
| I must be being dumb here but I don't see any easy Bmax code for get the DesktopSize on PCs, perhaps it's an API call.  Anyone know? thx  I presume people are using this code to work out the native screen aspect ratio. | 
| 
 | ||
| Not my work, but here it is: Now to something completely different... | 
| 
 | ||
| doesn't this just work.... Print GadgetWidth(Desktop()) Print Gadgetheight(Desktop()) | 
| 
 | ||
| Nice thanks!  Is this from the code archives or here?  Must've missed it. | 
| 
 | ||
| Dunno. If I remember right this was posted in the german community. @PantsOn: Your code needs MaxGUI, the mod works w/o it. | 
| 
 | ||
| That looks like the  desktopextension  code. | 
| 
 | ||
| Yep I use Desktop Extension for this too.  All the documentation in the one I have is in German but its not that hard to figure out. | 
| 
 | ||
| Cool I'll ask them if they mind me putting a small portion of it in my framwork. PantsOn: I want to make the code non MaxGUI. |