home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.uio.no!solace!news
- From: cmh@lls.se (Magnus Holmgren)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: How to get ModeID from it's name?
- Date: 14 Mar 1996 19:48:07
- Organization: ReqChange development
- Message-ID: <4igluq$au1@fizban.solace.mh.se>
- References: <4h6puc$21p@leofric.coventry.ac.uk>
- NNTP-Posting-Host: lancelot.lls.se
- Mime-Version: 1.2
- Content-Type: TEXT/PLAIN; charset=ISO-8859-1
- Content-Transfer-Encoding: 8BIT
- X-FTN-To: Dave Jackson
- X-Newsreader: Spot 1.3a #26/NetGate 1.2
-
- In a message of 01 Mar 96, Dave wrote to :
-
- DJ> Ok, I've tried everything! How can I get the ModeID from a string
- DJ> like:
-
- DJ> "MULTISCAN:Productivity"
- DJ> or
- DJ> "DBLNTSC:Low Res"
-
- DJ> There must be something I'm missing!
-
- Iterate through the display database using NextDisplayInfo().
-
- For each mode found, query the display database for the name with
- GetDisplayInfoData( ..., DTAG_NAME, id ) and do a string compare with this.
-
- Note that many "non-standard" modes doesn't have a name.
-
- --
- Magnus Holmgren - Amiga programmer and enthusiast
-
-
-