home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / VMEM.ZIP / VMEM.RC < prev   
Text File  |  1993-03-01  |  3KB  |  74 lines

  1.  
  2. ; VMEM.RC - Copyright (c) 1992 M.B.Mallory
  3.  
  4. #include <os2.h>
  5. #include "vmem.h"
  6.  
  7. POINTER    VMEM_ICON    vmem.ico
  8.  
  9. DLGTEMPLATE IDD_HELP
  10.   {
  11.   DIALOG "VMEM Help information" 0, -45,-75,235,155,, 
  12.                 FCF_DLGBORDER | FCF_TITLEBAR
  13.     {
  14.     LTEXT "VMEM consists simply of a title bar and a system"  -1,5,144,225,8
  15.     LTEXT "  menu. Data is displayed in the title bar itself."-1,5,136,225,8
  16.  
  17.     LTEXT "OPTIONS can be accessed by selecting it from the"  -1,5,124,225,8
  18.     LTEXT "  system menu or by double clicking mouse button 2"-1,5,116,225,8
  19.     LTEXT "  (usually the right button) on the title bar."    -1,5,108,225,8
  20.  
  21.     LTEXT "Save screen position:"                             -1,5, 96,225,8
  22.     LTEXT "  If checked when the program is closed, the"      -1,5, 88,225,8
  23.     LTEXT "  current position of VMEM on the screen is saved."-1,5, 80,225,8
  24.     LTEXT "  If not checked, VMEM will always start from the" -1,5, 72,225,8
  25.     LTEXT "  last saved position."                            -1,5, 64,225,8
  26.  
  27.     LTEXT "Restore defaults:"                                 -1,5, 52,225,8
  28.     LTEXT "  If checked when the program is closed, all saved"-1,5, 44,225,8
  29.     LTEXT "  VMEM data is deleted and hard coded defaults are"-1,5, 36,225,8
  30.     LTEXT "  used the next time the program is started. This" -1,5, 28,225,8
  31.     LTEXT "  option should be performed before removing"      -1,5, 20,225,8
  32.     LTEXT "  VMEM from your system."                          -1,5, 12,145,8
  33.  
  34.     DEFPUSHBUTTON  "~OK" DID_OK, 155, 3, 40, 14, WS_GROUP
  35.     }
  36.   }
  37.  
  38. DLGTEMPLATE IDD_ABOUT
  39.   {
  40.   DIALOG "About  VMEM" 0, -20,-40,180,85,, FCF_DLGBORDER | FCF_TITLEBAR
  41.     {                                                      
  42.     ICON   VMEM_ICON                            -1,  78,64,  0,0
  43.     CTEXT "VMEM  1.0   (C) 1992  M.B.Mallory"   -1,  10,51,160,8
  44.     CTEXT "Displays the largest block of"       -1,  10,36,160,8
  45.     CTEXT "virtual memory available in OS/2 2.O"-1,  10,26,160,8  
  46.  
  47.     DEFPUSHBUTTON  "~OK" DID_OK, 70,  5,  40, 14,WS_GROUP
  48.     }
  49.   }
  50.  
  51. #define  ARB  AUTORADIOBUTTON
  52. #define  ACB  AUTOCHECKBOX
  53. #define  CB   CHECKBOX
  54.  
  55. DLGTEMPLATE IDD_OPTIONS
  56.   {
  57.   DIALOG "VMEM  Options" 0, -15,-112,140,102,,FCF_DLGBORDER | FCF_TITLEBAR
  58.     {
  59.     GROUPBOX    "Termination control"           -1,  10,62,120,35
  60.       CB  "~Save screen position"   ACB_SAVESCRPOS,  15,77,110,10,
  61.         BS_3STATE | WS_VISIBLE | WS_TABSTOP | WS_GROUP
  62.       ACB "~Restore defaults"          ACB_RESTORE,  15,67,110,10
  63.     GROUPBOX    "Data display format"           -1,  10,24,120,35
  64.       ARB "~MegaBytes"               ARB_DISPLAYMB,  15,39,110,10
  65.       ARB "~KiloBytes"               ARB_DISPLAYKB,  15,29,110,10
  66.     DEFPUSHBUTTON "~OK"                     DID_OK,  10, 5, 40,14,WS_GROUP
  67.     PUSHBUTTON    "~About"               DID_ABOUT,  50, 5, 40,14
  68.     PUSHBUTTON    "~Help"                 DID_HELP,  90, 5, 40,14
  69.     }
  70.   }
  71.  
  72.  
  73.  
  74.