[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 FT_GETMODE()
 Get the video mode
------------------------------------------------------------------------------

 Syntax

      FT_GETMODE() -> nVMode

 Arguments

     None.

 Returns

     The video mode, as a numeric.

 Description

     Use this function to find out what mode your display adapter is in.
     Uses DOS interrupt 10h to get the mode.  For a table of modes
     available on various graphics adapters, refer to a book such
     as Wilton's "Programmer's Guide to PC & PS/2 Video Systems"
     (Microsoft Press)

 Examples

        function main( cMode )

          FT_SETMODE( val( cMode ) )
          QOut( "Video mode is: " + str( FT_GETMODE() ) )
          return ( nil )


 Source: VIDMODE.PRG

 Author: Glenn Scott

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson