[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 OL_IsOS2Win()
 Are we running in a windowed OS/2 Dos session?
------------------------------------------------------------------------------

 Syntax

       OL_IsOS2Win() --> lWindow

 Arguments

      None.

 Returns

      .T. if we are running in an OS/2 Dos Window, .F. if we are running
      in an OS/2 Dos full screen session.

 Description

      OL_IsOS2Win() can be used to check if the current Dos session
      under OS/2 is a windowed session or a full screen
      session. Note that this function does not check if we are
      running under OS/2 and the return value is undocumented if we
      are not. You will probably want to check using OL_IsOS2() first.

 Examples

      // Display the current session details.

      If OL_IsOS2()
         ? "Running in an OS/2 Dos " + if( OL_IsOS2Win()   ,;
                                           "windowed"      ,;
                                           "full screen" ) +;
                                           " session"
      Else
         ? "Boring old Dos!"
      EndIf

 Source: ISOS2WIN.C

 Author: Unknown

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