forums

TNT Basic Forums > Programming Q&A
Getting the desktop resolution
< Last Thread     Next Thread >
Author
Thread        Post A Reply

02-12-2006 14:30

Posted by:
lothar250

Location:
Switzerland

Click Here to Email lothar250   Find more posts by lothar250

Hi guys!

I want to make a Basic app, which automatically switches to the user's desktop resolution. How can I do that?

Greets

02-12-2006 23:00

Posted by:
allnodcoms

Location:
hertfordshire (England)

Click Here to Email allnodcoms   Find more posts by allnodcoms

Sorry, not yet...

I'm afraid that you can't poll the user resolution from TNT at the moment, there is just not a call that does this. I know this is a bit of a cop out, but most games boot into a default resolution (usually 800x600) which is compatible with both average desktops and laptops, it then gives the option to set a different resolution under preferences. This is the way TNT works, you set the resolution and hope it works...
This sounds like a candidate for a 'feature request'! A possible addition to this might be the ability to maximise a window (then check its size). Windowed mode is a very new feature and is still in need of a bit extra functionality (like menu bar support!), so please post to the request section of sourceforge and we'll look at getting it implemented... You never know!

Danny (nods)

02-14-2006 12:25

Posted by:
lothar250

Location:
Switzerland

Click Here to Email lothar250   Find more posts by lothar250

ok thanks for your reply

All times are GMT        Post A Reply

Forum Jump:
< Last Thread     Next Thread >

< Contact Us - TNT Basic >

Powered by: vBulletin Lite Version 1.0.1 Lite
Copyright © Jelsoft Enterprises Limited 2000.