home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / mm / dive / showdlg.dlg < prev    next >
Text File  |  1999-05-11  |  3KB  |  54 lines

  1. /**************************************************************************
  2.  *
  3.  * File Name        : SHOWDLG.DLG
  4.  *
  5.  * Description      : Define SHOW.EXE dialog box
  6.  *
  7.  * Copyright        : COPYRIGHT IBM CORPORATION, 1991, 1992
  8.  *
  9.  *         DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
  10.  *         sample code created by IBM Corporation. This sample code is not
  11.  *         part of any standard or IBM product and is provided to you solely
  12.  *         for  the purpose of assisting you in the development of your
  13.  *         applications.  The code is provided "AS IS", without
  14.  *         warranty of any kind.  IBM shall not be liable for any damages
  15.  *         arising out of your use of the sample code, even if they have been
  16.  *         advised of the possibility of such damages.
  17.  *
  18.  ****************************************************************************/
  19.  
  20. #ifndef OS2_INCLUDED
  21.    #include <os2.h>
  22. #endif
  23.  
  24. DLGTEMPLATE ID_DIALOG LOADONCALL MOVEABLE DISCARDABLE
  25. BEGIN
  26.     DIALOG  "Query Screen Capabilities", ID_DIALOG, 54, -11, 244, 150, WS_VISIBLE,
  27.             FCF_SYSMENU | FCF_TITLEBAR
  28.     BEGIN
  29.         LTEXT           "Direct screen access", 0, 11, 132, 146, 10
  30.         LTEXT           "Screen access requires bank switch. ", DID_OK, 11,
  31.                         120, 146, 10
  32.         LTEXT           "Screen color depth ", DID_CANCEL, 11, 108, 146, 10
  33.         LTEXT           "Horizontal resolution", 3, 11, 96, 146, 10
  34.         LTEXT           "Vertical resolution", 4, 11, 84, 146, 10
  35.         LTEXT           "Screen scan line length in bytes", 5, 11, 72, 146,
  36.                         10
  37.         LTEXT           "Screen color encoding", 6, 11, 60, 146, 10
  38.         LTEXT           "Screen aperture size", 7, 11, 48, 146, 10
  39.         LTEXT           "Number of input formats", 8, 11, 36, 146, 10
  40.         LTEXT           "Number of output formats", 9, 11, 24, 146, 10
  41.         ENTRYFIELD      "", 11, 174, 134, 50, 8, ES_MARGIN
  42.         ENTRYFIELD      "", 12, 174, 122, 50, 8, ES_MARGIN
  43.         ENTRYFIELD      "", 13, 174, 110, 50, 8, ES_MARGIN
  44.         ENTRYFIELD      "", 14, 174, 98, 50, 8, ES_MARGIN
  45.         ENTRYFIELD      "", 15, 174, 86, 50, 8, ES_MARGIN
  46.         ENTRYFIELD      "", 16, 174, 74, 50, 8, ES_MARGIN
  47.         ENTRYFIELD      "", 17, 174, 62, 50, 8, ES_MARGIN
  48.         ENTRYFIELD      "", 18, 174, 50, 50, 8, ES_MARGIN
  49.         ENTRYFIELD      "", 19, 174, 38, 50, 8, ES_MARGIN
  50.         ENTRYFIELD      "", 20, 174, 26, 50, 8, ES_MARGIN
  51.         PUSHBUTTON      "OK", 23, 95, 6, 40, 14, BS_DEFAULT
  52.     END
  53. END
  54.