home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / TOOLKIT / OS2 / VMM / VMM.DLG < prev    next >
Text File  |  1994-11-17  |  8KB  |  153 lines

  1. DLGINCLUDE 1 "VMM.H"
  2.  
  3. DLGTEMPLATE IDD_SETMEM1 LOADONCALL MOVEABLE DISCARDABLE
  4. {
  5.     DIALOG  "Set Memory Attributes", IDD_SETMEM1, 39, 25, 283, 80,
  6.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  7.     {
  8.         LTEXT           "DosSetMem( pvObjectBase, ulObjectSize, ulAttrs)",
  9.                            MAXHOSIZE,          9, 60, 230,  8
  10.         LTEXT           "~Address to set Attributes:  0x",
  11.                            IDD_ADDRESSTEXT,    9, 45, 125,  8, DT_MNEMONIC
  12.         ENTRYFIELD      "", IDD_ADDRESS,     136, 45, 104,  8,
  13.                              NOT ES_AUTOSCROLL | ES_MARGIN
  14.         LTEXT           "~Size of region to set Attributes (decimal): ",
  15.                           IDD_ADDRESSTEXT,     9, 30, 175, 8, DT_MNEMONIC
  16.         ENTRYFIELD      "", IDD_EDITSIZE,    190, 30, 50, 7,
  17.                           NOT ES_AUTOSCROLL | ES_MARGIN
  18.         DEFPUSHBUTTON   "~OK", DID_OK,         53, 5, 40, 12
  19.         PUSHBUTTON      "~Cancel", DID_CANCEL,106, 5, 40, 12
  20.     }
  21. }
  22.  
  23. DLGTEMPLATE IDD_SETMEM2 LOADONCALL MOVEABLE DISCARDABLE
  24. {
  25.     DIALOG  "Set Memory Attributes", IDD_SETMEM2, 39, 25, 283, 106,
  26.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  27.     {
  28.         LTEXT           "", IDD_ADDRESS,          5, 90, 150, 8, NOT WS_GROUP
  29.         GROUPBOX        "Access Protection", IDD_ACCESS, 11, 23, 140, 60
  30.         AUTOCHECKBOX    "~Read", IDD_READ,          20, 42, 42, 10,
  31.                           BS_NOCURSORSELECT
  32.         AUTOCHECKBOX    "~Execute", IDD_EXECUTE,    20, 29, 48, 10,
  33.                           BS_NOCURSORSELECT
  34.         AUTOCHECKBOX    "~Guard", IDD_GUARD,        85, 42, 50, 10,
  35.                           BS_NOCURSORSELECT
  36.         AUTOCHECKBOX    "~Write", IDD_WRITE,        85, 29, 35, 10,
  37.                           BS_NOCURSORSELECT
  38.         GROUPBOX        "Allocation Attributes", IDD_ATTRIBUTES,
  39.                                                    169, 23, 104, 60
  40.         AUTORADIOBUTTON "~Default", IDD_DEFAULT,   180, 58, 63, 10,
  41.                           BS_NOCURSORSELECT | WS_TABSTOP
  42.         AUTORADIOBUTTON "D~ecommit", IDD_DECOMMIT, 180, 43, 63, 10,
  43.                           BS_NOCURSORSELECT | WS_TABSTOP
  44.         AUTORADIOBUTTON "Co~mmit", IDD_COMMIT,     180, 29, 63, 10,
  45.                           BS_NOCURSORSELECT | WS_TABSTOP
  46.         DEFPUSHBUTTON   "~OK", DID_OK,               39, 5, 40, 12,
  47.                           BS_NOCURSORSELECT
  48.         PUSHBUTTON      "~Cancel", DID_CANCEL,       90, 5, 40, 12,
  49.                           BS_NOCURSORSELECT
  50.     }
  51. }
  52.  
  53. DLGTEMPLATE IDD_FREEMEM LOADONCALL MOVEABLE DISCARDABLE
  54. {
  55.     DIALOG  "Free Memory Object", IDD_FREEMEM, 32, 17, 265, 64,
  56.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  57.     {
  58.         LTEXT           "DosFreeMem( pvObjectBase)", MAXHOSIZE,
  59.                                                15, 45, 230, 8
  60.         LTEXT           "Address of start of block to free:  0x",
  61.                           IDD_ADDRESSTEXT,     15, 35, 155, 8
  62.         ENTRYFIELD      "", IDD_ADDRESS,      172, 34,  80, 8,
  63.                              NOT ES_AUTOSCROLL | ES_MARGIN
  64.         DEFPUSHBUTTON   "~OK", DID_OK,          31, 12, 40, 12, BS_NOCURSORSELECT
  65.         PUSHBUTTON      "~Cancel", DID_CANCEL,  97, 12, 40, 12, BS_NOCURSORSELECT
  66.     }
  67. }
  68.  
  69. DLGTEMPLATE IDD_READMEM LOADONCALL MOVEABLE DISCARDABLE
  70. {
  71.     DIALOG  "Read from Memory Object", IDD_READMEM, 32, 24, 240, 60,
  72.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  73.     {
  74.         LTEXT           "Address to read from:  0x", IDD_ADDRESSTEXT,
  75.                                                10, 39, 115, 8
  76.         ENTRYFIELD      "", IDD_ADDRESS,      125, 39, 104, 8,
  77.                             NOT ES_AUTOSCROLL | ES_MARGIN
  78.         DEFPUSHBUTTON   "~OK", DID_OK,          53, 5, 40, 12, BS_NOCURSORSELECT
  79.         PUSHBUTTON      "~Cancel", DID_CANCEL, 106, 5, 40, 12, BS_NOCURSORSELECT
  80.     }
  81. }
  82.  
  83. DLGTEMPLATE IDD_WRITEMEM LOADONCALL MOVEABLE DISCARDABLE
  84. {
  85.     DIALOG  "Write to Memory Object", IDD_WRITEMEM, 32, 24, 221, 65,
  86.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  87.     {
  88.         LTEXT           "Address to write to:  0x", IDD_ADDRESSTEXT,
  89.                                             10, 39, 102, 8
  90.         ENTRYFIELD      "", IDD_ADDRESS,   112, 39,  97, 8,
  91.                             NOT ES_AUTOSCROLL | ES_MARGIN
  92.         LTEXT           "Data to write:", IDD_ADDRESSTEXT,
  93.                                             10, 23, 57, 8
  94.         ENTRYFIELD      "", IDD_DATA,       69, 23,140, 8,
  95.                             NOT ES_AUTOSCROLL | ES_MARGIN
  96.         DEFPUSHBUTTON   "~OK", DID_OK,       53, 5, 40, 10, BS_NOCURSORSELECT
  97.         PUSHBUTTON      "~Cancel", DID_CANCEL, 106, 5, 40, 11,
  98.                             BS_NOCURSORSELECT
  99.     }
  100. }
  101.  
  102. DLGTEMPLATE IDD_ALLOCMEM LOADONCALL MOVEABLE DISCARDABLE
  103. {
  104.     DIALOG  "Allocate Memory ", IDD_ALLOCMEM,            32, 25, 283, 107,
  105.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_TITLEBAR | FCF_SYSMENU
  106.     {
  107.         LTEXT           "DosAllocMem( pvObjectBase, ulObjectSize, ulAttrs)",
  108.                            IDD_TITLE,                     9, 93, 230, 8
  109.         LTEXT           "~Size to allocate (decimal):", IDD_EDITTEXT,
  110.                            11, 77, 120, 8, DT_MNEMONIC
  111.         ENTRYFIELD      "", IDD_EDITSIZE,                135, 77, 65, 8,
  112.                            NOT ES_AUTOSCROLL | ES_MARGIN
  113.         LTEXT           "KBytes", IDD_EDITUNIT,          203, 77, 30, 8,
  114.  
  115.         GROUPBOX        "Access Protection", IDD_ACCESS, 11, 23, 140, 42
  116.         AUTOCHECKBOX    "~Read", IDD_READ,               20, 42, 42, 10,
  117.                            BS_NOCURSORSELECT
  118.         AUTOCHECKBOX    "~Execute", IDD_EXECUTE,         20, 29, 48, 10,
  119.                           BS_NOCURSORSELECT
  120.         AUTOCHECKBOX    "~Guard", IDD_GUARD,             85, 42, 50, 10,
  121.                           BS_NOCURSORSELECT
  122.         AUTOCHECKBOX    "~Write", IDD_WRITE,             85, 29, 35, 10,
  123.                           BS_NOCURSORSELECT
  124.         GROUPBOX        "Allocation Attributes", IDD_ATTRIBUTES,
  125.                                                         169, 23, 104, 42
  126.         AUTOCHECKBOX    "~Tile", IDD_TILE,              180, 43, 32, 10,
  127.                           BS_NOCURSORSELECT
  128.         AUTOCHECKBOX    "Co~mmit", IDD_COMMIT,          180, 29, 63, 10,
  129.                           BS_NOCURSORSELECT
  130.         DEFPUSHBUTTON   "~OK", DID_OK,                    37, 3, 43, 12,
  131.                           BS_NOCURSORSELECT
  132.         PUSHBUTTON      "~Cancel", DID_CANCEL,           111, 3, 43, 12,
  133.                           BS_NOCURSORSELECT
  134.     }
  135. }
  136.  
  137. DLGTEMPLATE IDD_PRODUCTINFO LOADONCALL MOVEABLE DISCARDABLE
  138. {
  139.     DIALOG  "Product Information", IDD_PRODUCTINFO, 8, -43, 276, 137,
  140.             FS_NOBYTEALIGN | WS_VISIBLE, FCF_SYSMENU | FCF_TITLEBAR
  141.     {
  142.         CONTROL         IDR_BITMAP, IDC_BITMAP,   111, 71,  21, 21,
  143.                             WC_STATIC, SS_BITMAP | WS_GROUP | WS_VISIBLE
  144.         CTEXT           "(C) Copyright IBM Corporation 1992. All Rights rese"
  145.                         "rved.",              256,  7, 54, 255,  8
  146.         CTEXT           "International Business Machines Corp.",
  147.                                               257,  7, 34, 255,  8
  148.         CTEXT           "OS/2 is a registered trademark of",
  149.                                               258,  7, 44, 255,  8
  150.         DEFPUSHBUTTON   "~OK", DID_OK,            111,  8,  45, 15
  151.     }
  152. }
  153.