Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: How can I get list of available screen resolutions?  (Read 689 times)
DarekRuman
Community Member
*
Posts: 67

game developer


WWW
« on: May 27, 2008, 05:03:02 PM »

I was looking for some info in archive, but with no results.

I need to get a list of available screen modes in TV6.3.
I know that in TV6.5 there is a TvDeviceInfo class but what about 6.3?

Thanks for any help!
Logged

www.reddotgames.pl
paintball eXtreme | project
TV6.3 developer
DarekRuman
Community Member
*
Posts: 67

game developer


WWW
« Reply #1 on: May 29, 2008, 01:12:35 PM »

Anyone?  Embarrassed
Logged

www.reddotgames.pl
paintball eXtreme | project
TV6.3 developer
Korinu
Customers
Community Member
*****
Posts: 16


« Reply #2 on: May 30, 2008, 01:14:29 AM »

Something like this?

Obtain Current and Maximum Screen Display and Color Resolution
http://www.freevbcode.com/ShowCode.asp?ID=176


Update:
Ok TV6.3 should be able to determine them over TV.GetDriverSettings() which returns TV_DRIVERSETTINGS:
Code:
Public Type TV_DRIVERSETTINGS
  DriverName As String
  id As Long
  ModeCount As Integer
  ModeFormat() As TV_MODEFORMAT
End Type

and the TV_MODEFORMAT has following properties:
Code:
Public Type TV_MODEFORMAT
  Width As Long
  Height As Long
  Format As Long
End Type

hope that helps.
« Last Edit: May 30, 2008, 01:20:27 AM by Korinu » Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks